diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index c88a062..0000000 Binary files a/.DS_Store and /dev/null differ diff --git a/src/cli.ts b/src/cli.ts index c220219..45ff2ff 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -162,9 +162,9 @@ async function buildSEA(target: string) { fs.mkdirSync(dirname(seaPath), { recursive: true }); fs.copyFileSync(join(tempDir, archiveBase), seaPath); - if (target=="darwin-arm64") { - _log('Removing signature :', seaPath); - execSync(`codesign --remove-signature "${seaPath}"`) + if (target == 'darwin-arm64') { + _log('Removing signature:', seaPath); + execSync(`codesign --remove-signature "${seaPath}"`); } _log('Injecting:', seaPath); @@ -173,11 +173,10 @@ async function buildSEA(target: string) { sentinelFuse: 'NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2', }); - if (target=="darwin-arm64") { - _log('Signing binary :', seaPath); - execSync(`codesign --sign - "${seaPath}"`) + if (target == 'darwin-arm64') { + _log('Signing binary:', seaPath); + execSync(`codesign --sign - "${seaPath}"`); } - } for (const target of options.target) {