Skip to content

Commit

Permalink
Fix FileEntry.getOffsetFromAsarData
Browse files Browse the repository at this point in the history
  • Loading branch information
lafkpages committed Oct 30, 2023
1 parent 8bcf3cd commit 0df7b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit 0df7b41

Please sign in to comment.