forked from dfvips/um-react-electron
-
Notifications
You must be signed in to change notification settings - Fork 6
/
electron-builder.json5
executable file
·69 lines (69 loc) · 1.75 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
68
69
/**
* @see https://www.electron.build/configuration/configuration
*/
{
"$schema": "https://github.com/dfvips/iqiyi-parser",
"appId": "com.dreamfly.um",
"productName": "音乐解锁 React",
"asar": true,
"directories": {
"output": "release/${version}"
},
"asarUnpack":[
"resources/**"
],
"mac": {
"icon": "build/icon.icns",
"artifactName": "${name}-${version}-macos-${arch}.${ext}",
"target": [
{
target: "dmg",
arch: ["arm64", "x64"]
}
],
"files": [
"!**/.vscode/*",
"!{.eslintignore,.eslintrc.js,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}"
]
},
"compression": "maximum",
"win": {
"icon": "build/icon.ico",
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
},
{
"target": "7z"
}
],
"artifactName": "${name}-${version}-win-${arch}.${ext}",
"files": [
"!**/.vscode/*",
"!{.eslintignore,.eslintrc.js,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}"
]
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": true,
"installerIcon": "build/icon.ico",
"uninstallerIcon": "build/icon.ico",
"uninstallDisplayName": "${name}-${version}",
"artifactName": "${name}-${version}-win-${arch}-setup.${ext}",
"shortcutName": "${productName}"
},
"linux": {
"icon": "build/icon.png",
"target": "AppImage",
"artifactName": "${name}-${version}-${arch}.${ext}",
"files": [
"!**/.vscode/*",
"!{.eslintignore,.eslintrc.js,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}"
]
},
}