forked from gaozhangmin/aliyunpan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathelectron-builder.json
73 lines (72 loc) · 2.25 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
{
"appId": "com.xby.app",
"productName": "小白羊云盘",
"copyright": "copyright ©2023 Zhangmin gao",
"artifactName": "${productName}v${version}-${arch}.${ext}",
"asar": true,
"compression": "normal",
"directories": {
"output": "release"
},
"files": [
"dist"
],
"mac": {
"icon": "./static/images/icon.png",
"type": "distribution",
"darkModeSupport": true,
"hardenedRuntime": true,
"category": "public.app-category.utilities",
"extraResources": [
{ "from": "./static/engine/darwin", "to": "./engine"},
{ "from": "./static/engine/aria2.conf", "to": "./engine/aria2.conf"},
{ "from": "./static/crx", "to": "./crx"},
{ "from": "./static/images/app.ico", "to": "."},
{ "from": "./static/images/app.png", "to": "."},
{ "from": "./static/images/icon.png", "to": "."}
],
"target": [
{ "target": "dmg", "arch": [ "x64", "arm64" ] }
]
},
"linux": {
"icon": "./static/images/icon.png",
"category": "Network",
"extraResources": [
{ "from": "./static/engine/linux", "to": "./engine"},
{ "from": "./static/engine/aria2.conf", "to": "./engine/aria2.conf"},
{ "from": "./static/crx", "to": "./crx"},
{ "from": "./static/images/app.ico", "to": "."},
{ "from": "./static/images/app.png", "to": "."},
{ "from": "./static/images/icon.png", "to": "."}
],
"target": [ "zip" ]
},
"win": {
"icon": "./static/images/icon.png",
"extraResources": [
{ "from": "./static/engine/win32", "to": "./engine"},
{ "from": "./static/engine/aria2.conf", "to": "./engine/aria2.conf"},
{ "from": "./static/crx", "to": "./crx"},
{ "from": "./static/images/app.ico", "to": "."},
{ "from": "./static/images/app.png", "to": "."},
{ "from": "./static/images/icon.png", "to": "."}
],
"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": false,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": false
}
}