From 0df7b4141e7a622a468ca85ef1092c442c66f3f0 Mon Sep 17 00:00:00 2001 From: lafkpages Date: Mon, 30 Oct 2023 19:05:12 +0100 Subject: [PATCH] Fix FileEntry.getOffsetFromAsarData --- src/entries.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entries.ts b/src/entries.ts index eefe300..19d9420 100644 --- a/src/entries.ts +++ b/src/entries.ts @@ -94,7 +94,7 @@ export class FileEntry extends BaseEntry implements FileEntryData { * @param headerSize The size of the ASAR header. */ getOffsetFromAsarData(headerSize: number) { - return this.offsetAsNumber + headerSize + 1; + return this.offsetAsNumber + headerSize + 8; } /**