Skip to content

Commit

Permalink
Formatting, removed bad file
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Dec 1, 2024
1 parent 1d79f66 commit f563835
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
Binary file removed .DS_Store
Binary file not shown.
13 changes: 6 additions & 7 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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) {
Expand Down

0 comments on commit f563835

Please sign in to comment.