-
Notifications
You must be signed in to change notification settings - Fork 1
/
electron-builder.json5
67 lines (63 loc) · 1.25 KB
/
electron-builder.json5
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
/**
* @see https://www.electron.build/configuration/configuration
*/
{
"publish": [
{
"provider": "generic",
"url": "https://disk.coder163.com/directlink/software/rss-reader/update/",
}
],
// "publish": {
// "provider": "github",
// "owner": "coder163",
// "repo": "release-demo1"
// },
"appId": "com.coder163",
"productName": "猿阅",//项目名,也是生成的安装文件名,即aDemo.exe
"copyright": "Copyright © 2022",//版权信息
"asar": false,
"directories": {
"output": "release/${version}"
},
"extraResources": [
{
"from": "./config/",
"to": "../config"
}
],
"files": [
"dist"
],
"mac": {
"artifactName": "${productName}_${version}.${ext}",
"target": [
"dmg"
]
},
linux: {
"icon": "./favicon.ico",
// 包含各种尺寸图标的文件夹
target: [
"AppImage"
],
},
"win": {
"icon": "./favicon.ico",
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"artifactName": "${productName}_${version}.${ext}"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": false,
}
}