From f563835a341eebfe7fd5e4ca6fbdfe33a8593e1e Mon Sep 17 00:00:00 2001 From: James Prevett Date: Sat, 30 Nov 2024 19:15:34 -0600 Subject: [PATCH] Formatting, removed bad file --- .DS_Store | Bin 6148 -> 0 bytes src/cli.ts | 13 ++++++------- 2 files changed, 6 insertions(+), 7 deletions(-) delete mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index c88a062b05be4fd1d362b3e4c6a7481e718b69d0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeH~O$x$5422WzLU7Zi%h`AUZ!n0Spcima5J4*Vx1OW>k_m#k8KJGkN^pg011%5 z4-v3?8#bF)Wh4O-Ab}?V`#vPNX$~z_{nLTqBLK8P*$r!-C7{U)&>UK-q5{*H9yD6j z#}KP~J2b_)99pW@cF`C;crrWIXQgOGwy`I%~QMGk}L;X0y%TE9jyNVZZH|!@{KyzrRiVBQB0*--!1inh( E0rZ6u#{d8T 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) {