🐛 Fix solidpkg reader

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

View file

@ -42,7 +42,7 @@ export default function readSolidpkg(buffer: Buffer) {
//--------------- READ CENTRAL DIR ---------------
//Go to start of central dir
pos -= -20 - centralDirSize;
pos -= 20 + centralDirSize;
{
const magicNum = dv.getUint32(pos, true); pos += 4;