🐛 Fix solidpkg reader
This commit is contained in:
parent
6d38db6ea0
commit
a382fe6e0f
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ export default function readSolidpkg(buffer: Buffer) {
|
||||||
//--------------- READ CENTRAL DIR ---------------
|
//--------------- READ CENTRAL DIR ---------------
|
||||||
|
|
||||||
//Go to start of central dir
|
//Go to start of central dir
|
||||||
pos -= -20 - centralDirSize;
|
pos -= 20 + centralDirSize;
|
||||||
|
|
||||||
{
|
{
|
||||||
const magicNum = dv.getUint32(pos, true); pos += 4;
|
const magicNum = dv.getUint32(pos, true); pos += 4;
|
||||||
|
|
Loading…
Reference in a new issue