-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
electron-builder.json
67 lines (67 loc) · 1.72 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
{
"$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
"productName": "SCNexus",
"appId": "net.aiurcovenant.scnexus",
"copyright": "Copyright © 2023 MengLuoRJ",
"asar": true,
"directories": {
"output": "./release/${version}",
"buildResources": "./packages/app-main/buildResources"
},
"files": [
"./packages/app-main/dist/**",
"./packages/app-preload/dist/**",
"./packages/app-renderer/dist/**"
],
"extraResources": [
{
"from": "./packages/app-main/node_modules/regedit/vbs",
"to": "regedit/vbs",
"filter": ["**/*"]
}
],
"protocols": [
{
"name": "SCNexus Protocol",
"schemes": ["scnexus"]
}
],
"mac": {
"icon": "buildResources/application_icon.png",
"artifactName": "${productName}_${version}.${ext}",
"target": ["dmg"]
},
"win": {
"icon": "buildResources/application_icon.ico",
"target": [
{
"target": "nsis",
"arch": ["x64"]
}
],
"artifactName": "${productName}_${version}.${ext}"
},
"nsis": {
"oneClick": false,
"perMachine": true,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": true,
"installerLanguages": ["zh_CN", "en_US"]
},
"appx": {
"applicationId": "SCNexus",
"backgroundColor": "#464646",
"displayName": "SCNexus",
"identityName": "3496AiurCovenant.SCNexus",
"publisher": "CN=MengLuoRJ, O=AiurCovenant, C=CN",
"publisherDisplayName": "AiurCovenant",
"languages": ["zh-CN", "en-US"]
},
"publish": [
{
"provider": "generic",
"url": "https://release.scnexus.net/release/",
"useMultipleRangeRequest": false
}
]
}