diff --git a/src/readSolidpkg.ts b/src/readSolidpkg.ts index d9ee50a..2efc6bb 100644 --- a/src/readSolidpkg.ts +++ b/src/readSolidpkg.ts @@ -17,6 +17,7 @@ export default function readSolidpkg(buffer: Buffer) { if (pos < 0) { throw new Error('Could not find end of central dir.'); } + pos += 4; //skip 6 bytes pos += 6;