Skip to content
This repository was archived by the owner on Jan 13, 2024. It is now read-only.

Commit b63df87

Browse files
asdfugiljesec
authored andcommitted
ldid: explicitly mark signature as adhoc
1 parent 72e877f commit b63df87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mach-o.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function signMachOExecutable(executable: string) {
6161
try {
6262
execFileSync('codesign', ['--sign', '-', executable], { stdio: 'inherit' });
6363
} catch {
64-
execFileSync('ldid', ['-S', executable], { stdio: 'inherit' });
64+
execFileSync('ldid', ['-Cadhoc', '-S', executable], { stdio: 'inherit' });
6565
}
6666
}
6767

0 commit comments

Comments
 (0)