Skip to content

Commit

Permalink
fix: 修复因图标格式造成的windows下打包错误
Browse files Browse the repository at this point in the history
  • Loading branch information
lqd1434 committed Dec 19, 2021
1 parent 6a22a6e commit ba63d80
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Binary file removed electron/assets/icon/[email protected]
Binary file not shown.
Binary file added electron/assets/icon/icon.ico
Binary file not shown.
9 changes: 4 additions & 5 deletions electron_builder.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"productName": "Matex",
"appId": "org.Matex.com",
"icon": "./electron/assets/icon/icon.png",
"asar": true,
"files": [
"release/build",
Expand All @@ -13,7 +12,7 @@
"hardenedRuntime": true
},
"win": {
"icon": "./electron/assets/icon/icon.png",
"icon": "./electron/assets/icon/icon.ico",
"target": [
"nsis",
"zip"
Expand All @@ -25,9 +24,9 @@
"perMachine": true,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"installerIcon": "./electron/assets/icon/icon.png",
"uninstallerIcon": "./electron/assets/icon/icon.png",
"installerHeaderIcon": "./electron/assets/icon/icon.png",
"installerIcon": "./electron/assets/icon/icon.ico",
"uninstallerIcon": "./electron/assets/icon/icon.ico",
"installerHeaderIcon": "./electron/assets/icon/icon.ico",
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "matex"
Expand Down

0 comments on commit ba63d80

Please sign in to comment.