build(desktop): enable macOS signing & notarization for release

This commit is contained in:
zhayujie
2026-07-03 12:01:42 +08:00
parent b44154fe02
commit 01ec49afd2
5 changed files with 124 additions and 0 deletions

View File

@@ -44,6 +44,7 @@
"build": {
"appId": "com.cowagent.desktop",
"productName": "CowAgent",
"afterPack": "build/sign-backend.js",
"directories": {
"output": "release"
},
@@ -67,6 +68,11 @@
"mac": {
"category": "public.app-category.productivity",
"icon": "resources/icon.icns",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist",
"notarize": true,
"target": [
{
"target": "dmg",