add code signing
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
const id = process.env.ELECTROBUN_DEVELOPER_ID
|
||||
if (!id) {
|
||||
console.error('ELECTROBUN_DEVELOPER_ID not set')
|
||||
process.exit(1)
|
||||
}
|
||||
const r = Bun.spawnSync(
|
||||
['codesign', '--force', '--options', 'runtime', '--timestamp', '--sign', id, 'src/bun/native/biometric-helper'],
|
||||
{ stdout: 'inherit', stderr: 'inherit' },
|
||||
)
|
||||
process.exit(r.exitCode ?? 1)
|
||||
Reference in New Issue
Block a user