forked from boos/BoosAPI
feat: add macOS ad-hoc signing support
- Implemented afterPack script to ensure ad-hoc signature for macOS builds. - Created macosSignUtils module to handle app path retrieval, signature inspection, and ad-hoc signing. - Added functions to check if the app is signed and apply ad-hoc signing if necessary.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import { ensureAdHocSignature, getMacAppPath } from './macosSignUtils.mjs';
|
||||
|
||||
export default async function afterPack(context) {
|
||||
if (context.electronPlatformName !== 'darwin') return;
|
||||
|
||||
await ensureAdHocSignature(getMacAppPath(context));
|
||||
}
|
||||
Reference in New Issue
Block a user