diff --git a/lib/mach-o.ts b/lib/mach-o.ts index 6710df18..2a721b8e 100644 --- a/lib/mach-o.ts +++ b/lib/mach-o.ts @@ -90,7 +90,6 @@ function removeWindowsExecutableSignature(executable: string) { }); } - export { patchMachOExecutable, removeMachOExecutableSignature, diff --git a/lib/sea.ts b/lib/sea.ts index a1aaee33..1dc84fa3 100644 --- a/lib/sea.ts +++ b/lib/sea.ts @@ -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`; @@ -299,7 +299,6 @@ async function bake( 'After that, you can run pkg with --signature option again.', ]); } - } log.info(`Running command: ${command}`);