-
Notifications
You must be signed in to change notification settings - Fork 307
/
electron-builder.json
76 lines (76 loc) · 2.43 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
{
"appId": "com.xby.app",
"productName": "小白羊云盘",
"copyright": "copyright ©2023 Zhangmin gao",
"asar": true,
"compression": "maximum",
"directories": { "output": "release" },
"files": [ "dist" ],
"extraResources": [
{ "from": "./static/engine/aria2.conf", "to": "./engine/aria2.conf"},
{ "from": "./static/crx", "to": "./crx"},
{ "from": "./public/images/qrcode_1280.jpg", "to": "./images/qrcode_1280.jpg"},
{ "from": "./static/images/icon_24.png", "to": "./images/icon_24.png"},
{ "from": "./static/images/icon_64.png", "to": "./images/icon_64.png"},
{ "from": "./static/images/icon_256.png", "to": "./images/icon_256.png"}
],
"mac": {
"icon": "./static/images/icon.icns",
"type": "distribution",
"artifactName": "XBYDriver-${version}-mac-${arch}.${ext}",
"darkModeSupport": true,
"hardenedRuntime": true,
"category": "public.app-category.utilities",
"extraResources": [
{ "from": "./static/engine/darwin/${arch}", "to": "./engine" },
{ "from": "./static/images/icon.icns", "to": "./images/icon.icns"}
],
"target": [
{ "target": "dmg", "arch": [ "x64", "arm64" ] }
]
},
"linux": {
"icon": "./static/images/icon_256.png",
"category": "Network",
"artifactName": "XBYDriver-${version}-linux-${arch}.${ext}",
"extraResources": [
{ "from": "./static/engine/linux/${arch}", "to": "./engine"}
],
"target": [
{ "target": "AppImage", "arch": [ "x64", "arm64", "armv7l" ] },
{ "target": "deb", "arch": [ "x64", "arm64", "armv7l" ] }
]
},
"win": {
"icon": "./static/images/icon_256.ico",
"artifactName": "XBYDriver-${version}-win-${arch}.${ext}",
"requestedExecutionLevel": "asInvoker",
"extraResources": [
{ "from": "./static/engine/win32/${arch}", "to": "./engine"},
{ "from": "./static/images/icon_256.ico", "to": "./images/icon_256.ico"}
],
"target": [
{ "target": "nsis", "arch": [ "x64", "ia32" ] }
]
},
"dmg": {
"window": { "width": 540, "height": 380 },
"contents": [
{ "x": 410, "y": 230, "type": "link", "path": "/Applications" },
{ "x": 130, "y": 230, "type": "file" }
]
},
"nsis": {
"oneClick": false,
"perMachine": true,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": false
},
"publish": [
{
"provider": "github",
"releaseType": "draft"
}
]
}