Skip to content

Commit

Permalink
one more try
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmaddock committed Feb 5, 2025
1 parent 7b16e7a commit c8deebd
Showing 1 changed file with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,15 @@ async function createSEA() {
}

console.info(`Building ${exeName}…`)
await exec(
`npx postject ${basePath}${exeName} NODE_SEA_BLOB ${basePath}${seaBlobName} --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2 --macho-segment-name NODE_SEA`,
{ cwd: outDir },
)
const buildCmd = [
'npx postject',
`${basePath}${exeName}`,
'NODE_SEA_BLOB',
`${basePath}${seaBlobName}`,
'--sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2',
...(process.platform === 'darwin' ? ['--macho-segment-name NODE_SEA'] : []),
]
await exec(buildCmd.join(' '), { cwd: outDir })

if (process.platform === 'darwin') {
await exec(`codesign --sign - ${exeName}`, { cwd: outDir })
Expand Down

0 comments on commit c8deebd

Please sign in to comment.