🐛 Fix solidpkg reader

This commit is contained in:
C-3PO 2018-06-21 22:41:55 +02:00
parent 90a090f6e3
commit 6d38db6ea0
Signed by: c3po
GPG key ID: 62993C4BB4D86F24

View file

@ -17,6 +17,7 @@ export default function readSolidpkg(buffer: Buffer) {
if (pos < 0) { if (pos < 0) {
throw new Error('Could not find end of central dir.'); throw new Error('Could not find end of central dir.');
} }
pos += 4;
//skip 6 bytes //skip 6 bytes
pos += 6; pos += 6;