-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathelectron-builder.json
142 lines (142 loc) · 3.51 KB
/
electron-builder.json
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
"appId": "ai.oaphub.dive",
"productName": "Dive",
"copyright": "Copyright © 2025 Open Agent Platform",
"asar": true,
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
"asarUnpack": [
"**/node_modules/sharp/**/*",
"**/node_modules/@img/**/*",
"**/*.node"
],
"directories": {
"output": "release/${version}"
},
"files": [
"dist-electron",
"dist",
"drizzle/**/*",
"prebuilt/**/*"
],
"afterSign": "./scripts/notarizer.js",
"mac": {
"target": [
{
"target": "dmg",
"arch": ["arm64", "x64"]
},
{
"target": "zip",
"arch": ["arm64", "x64"]
}
],
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "resources/mac/entitlements.mac.plist",
"entitlementsInherit": "resources/mac/entitlements.mac.plist",
"darkModeSupport": true,
"extendInfo": {
"NSMicrophoneUsageDescription": "Microphone access may be used by Dive plugins, such as Jitsi video conferencing.",
"NSCameraUsageDescription": "Camera access may be used by Dive plugins, such as Jitsi video conferencing.",
"NSFocusStatusUsageDescription": "Focus status is used by Dive to determine whether to send notifications or not.",
"LSFileQuarantineEnabled": true,
"NSAppleEventsUsageDescription": "need this permission to execute some functions",
"com.apple.security.cs.allow-jit": true,
"com.apple.security.cs.allow-unsigned-executable-memory": true,
"com.apple.security.cs.allow-dyld-environment-variables": true,
"com.apple.security.temporary-exception.files.absolute-path.read-write": true,
"com.apple.security.temporary-exception.files.home-relative-path.read-write": true
},
"signIgnore": [
"node_modules/sharp"
],
"extraResources": [
{
"from": "bin/node/darwin-${arch}/",
"to": "bin/node/",
"filter": ["**/*"]
},
{
"from": "bin/uv/darwin-${arch}/",
"to": "bin/uv/",
"filter": [
"uv",
"uvx"
]
},
{
"from": "bin/python/darwin-${arch}/",
"to": "python/",
"filter": ["**/*"]
}
]
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"extraResources": [
{
"from": "bin/node/win-x64/",
"to": "node/",
"filter": [
"node.exe",
"npx.cmd",
"npm.cmd",
"node_modules/**/*"
]
},
{
"from": "bin/uv/win-x64/",
"to": "uv/",
"filter": [
"uv.exe",
"uvx.exe"
]
},
{
"from": "bin/python/win-x64/",
"to": "python/",
"filter": ["**/*"]
}
]
},
"linux": {
"target": ["AppImage"],
"asarUnpack": ["**/*.node"],
"executableName": "dive"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": true
},
"extraResources": [
{
"from": "prebuilt",
"to": "prebuilt",
"filter": ["**/*"]
},
{
"from": "drizzle",
"to": "drizzle",
"filter": ["**/*"]
},
{
"from": "public/locales",
"to": "locales",
"filter": ["**/*"]
}
],
"dmg": {
"writeUpdateInfo": false,
"title": "Dive-${version}"
}
}