forked from xue160709/AgentOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelectron-builder.json5
More file actions
73 lines (73 loc) · 2.25 KB
/
electron-builder.json5
File metadata and controls
73 lines (73 loc) · 2.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
// @see - https://www.electron.build/configuration/configuration
// electron-builder 打包参数:产物输出至 release/<version>/,收集 dist 与 dist-electron。
// Packaging manifest: writes installers under release/<version>/ bundling dist + dist-electron.
{
"$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
"appId": "com.agentos.desktop",
"asar": true,
"asarUnpack": [
"node_modules/@anthropic-ai/claude-agent-sdk-*/**"
],
"productName": "AgentOS",
"copyright": "Copyright © 2026 xuezhirong",
"publish": [
{
"provider": "github",
"owner": "xue160709",
"repo": "AgentOS",
// CI 下默认会建 Draft;mac 失败时 Windows 包会一直藏在草稿里。改为直接发布。
"releaseType": "release"
}
],
"directories": {
"output": "release/${version}",
"buildResources": "build"
},
"files": [
"dist",
"dist-electron",
".agents/skills/a2ui-project-home-panel"
],
"mac": {
"icon": "build/icons/icon.icns",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.inherit.plist",
"extendInfo": {
"NSMicrophoneUsageDescription": "AgentOS uses the microphone to turn your speech into composer text.",
"NSSpeechRecognitionUsageDescription": "AgentOS uses Apple Speech Recognition to transcribe your voice locally when supported."
},
// mac.notarize.teamId is injected at build time via electron-builder.config.cjs (APPLE_TEAM_ID).
"target": [
"dmg",
"zip"
],
"artifactName": "${productName}-Mac-${version}-Installer.${ext}"
},
"win": {
"icon": "build/icons/icon.ico",
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"artifactName": "${productName}-Windows-${version}-Setup.${ext}"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": false
},
"linux": {
"icon": "build/icons/icon.png",
"target": [
"AppImage"
],
"artifactName": "${productName}-Linux-${version}.${ext}"
}
}