Update electron-builder configuration for macOS notarization

- Reintroduced the afterSign script for notarization in the electron-builder configuration.
- Cleaned up the configuration by removing the duplicate afterSign entry from the mac section.
This commit is contained in:
matt 2026-02-11 21:36:33 +09:00
parent 6522b39ce8
commit 6ca7bed2f5

View file

@ -14,6 +14,8 @@ asar: true
extraMetadata:
main: dist-electron/main/index.js
afterSign: scripts/notarize.cjs
mac:
category: public.app-category.developer-tools
target:
@ -24,7 +26,6 @@ mac:
icon: resources/icons/mac/icon.icns
entitlements: build/entitlements.mac.plist
entitlementsInherit: build/entitlements.mac.plist
afterSign: scripts/notarize.cjs
dmg:
sign: false