Skip to content

Commit ffc16aa

Browse files
committed
fix:修复配置文件报错问题
1 parent 0868c8d commit ffc16aa

File tree

2 files changed

+31
-39
lines changed

2 files changed

+31
-39
lines changed

electron-builder.js

Lines changed: 0 additions & 39 deletions
This file was deleted.

electron-builder.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"appId": "YouAppID",
3+
"productName": "ElectronVue3",
4+
"copyright": "Copyright©2022${author}",
5+
"asar": true,
6+
"directories": {
7+
"output": "dist_release/${version}"
8+
},
9+
"files": ["dist"],
10+
"mac": {
11+
"artifactName": "${productName}_${version}.${ext}",
12+
"icon": "./build/icons/icon.icns",
13+
"category": "public.app-category.developer-tools",
14+
"target": ["dmg"],
15+
"darkModeSupport": true
16+
},
17+
"win": {
18+
"icon": "./build/icons/icon.ico",
19+
"target": [{ "target": "nsis", "arch": ["x64"] }],
20+
"artifactName": "${productName}_${version}.${ext}"
21+
},
22+
"linux": { "icon": "./build/icons/icon.icns", "target": "AppImage" },
23+
"nsis": {
24+
"oneClick": false,
25+
"perMachine": false,
26+
"allowElevation": true,
27+
"allowToChangeInstallationDirectory": true,
28+
"createDesktopShortcut": true,
29+
"createStartMenuShortcut": true
30+
}
31+
}

0 commit comments

Comments
 (0)