Skip to content

Commit

Permalink
style: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Nov 4, 2024
1 parent 28b8034 commit e871c24
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion lib/mach-o.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ function removeWindowsExecutableSignature(executable: string) {
});
}


export {
patchMachOExecutable,
removeMachOExecutableSignature,
Expand Down
3 changes: 1 addition & 2 deletions lib/sea.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ async function bake(
log.info(`Injecting the blob into ${outPath}...`);

let command = `npx postject "${outPath}" NODE_SEA_BLOB "${blobPath}" --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2`;

if (target.platform === 'macos') {
removeMachOExecutableSignature(outPath);
command = `${command} --macho-segment-name NODE_SEA`;
Expand All @@ -299,7 +299,6 @@ async function bake(
'After that, you can run pkg with --signature option again.',
]);
}

}

log.info(`Running command: ${command}`);
Expand Down

0 comments on commit e871c24

Please sign in to comment.