Implement wiring hardening, runtime API config, smoke tests, and build scripts

This commit is contained in:
Ryan Lancaster
2026-03-17 12:58:43 -04:00
parent a3949c32ee
commit ca46302aff
19 changed files with 2358 additions and 77 deletions

15
scripts/adhoc-sign.js Normal file
View File

@@ -0,0 +1,15 @@
// Post-build hook: ad-hoc sign the .app bundle so macOS 14+ will open it
// without requiring an Apple Developer certificate.
const { execSync } = require('child_process');
const path = require('path');
exports.default = async function (context) {
const appPath = path.join(
context.appOutDir,
`${context.packager.appInfo.productFilename}.app`,
);
console.log(`Ad-hoc signing: ${appPath}`);
execSync(`xattr -cr "${appPath}"`);
execSync(`codesign --force --deep --sign - "${appPath}"`);
console.log('Ad-hoc signing complete.');
};