forked from lllrrr2/aliyunpan-odomu
-
Notifications
You must be signed in to change notification settings - Fork 1
/
electron-builder.json
84 lines (84 loc) · 2.89 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
{
"appId": "com.alixby.app",
"productName": "阿里云盘小白羊",
"copyright": "copyright ©2023 Odomu",
"asar": true,
"compression": "maximum",
"directories": { "output": "release" },
"files": [ "dist" ],
"extraResources": [
{ "from": "./static/engine/aria2.conf", "to": "./engine/aria2.conf"},
{ "from": "./static/crx", "to": "./crx"}
],
"mac": {
"icon": "./static/images/icon.icns",
"type": "distribution",
"artifactName": "alixby-${version}-mac-${arch}.${ext}",
"darkModeSupport": true,
"hardenedRuntime": true,
"category": "public.app-category.utilities",
"extraResources": [
{ "from": "./static/images/icon.icns", "to": "./images/icon.icns"},
{ "from": "./static/images/icon_30x30.png", "to": "./images/icon_30x30.png"},
{ "from": "./static/engine/darwin/${arch}", "to": "./engine"}
],
"target": [
{ "target": "dmg", "arch": [ "x64", "arm64" ] },
{ "target": "zip", "arch": [ "x64", "arm64" ] }
]
},
"linux": {
"icon": "./static/images/icon_256x256.png",
"category": "Network",
"artifactName": "alixby-${version}-linux-${arch}.${ext}",
"extraResources": [
{ "from": "./static/images/icon_30x30.png", "to": "./images/icon_30x30.png"},
{ "from": "./static/images/icon_64x64.png", "to": "./images/icon_64x64.png"},
{ "from": "./static/images/icon_256x256.png", "to": "./images/icon_256x256.png"},
{ "from": "./static/engine/linux/${arch}", "to": "./engine"}
],
"target": [
{ "target": "AppImage", "arch": [ "x64", "arm64", "armv7l" ] },
{ "target": "deb", "arch": [ "x64", "arm64", "armv7l" ] },
{ "target": "pacman", "arch": [ "x64", "arm64", "armv7l" ] },
{ "target": "zip", "arch": [ "x64", "arm64", "armv7l" ] }
]
},
"win": {
"icon": "./static/images/icon_256x256.ico",
"artifactName": "alixby-${version}-win-${arch}.${ext}",
"requestedExecutionLevel": "asInvoker",
"extraResources": [
{ "from": "./static/images/icon_64x64.png", "to": "./images/icon_64x64.png"},
{ "from": "./static/images/icon_256x256.ico", "to": "./images/icon_256x256.ico"},
{ "from": "./static/engine/win32/${arch}", "to": "./engine"}
],
"target": [
{ "target": "nsis", "arch": [ "x64", "ia32", "arm64" ] },
{ "target": "zip", "arch": [ "x64", "ia32", "arm64" ] }
]
},
"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": [
{
"owner": "odomu",
"repo": "aliyunpan",
"provider": "github",
"publishAutoUpdate": false,
"releaseType": "prerelease"
}
]
}