fix(CI): correct Linux icon

This commit is contained in:
草鞋没号 2023-04-17 10:24:20 +08:00
parent 1017a297e8
commit c74834b35e
4 changed files with 6 additions and 1 deletions

View File

@ -2,9 +2,9 @@
* @see https://www.electron.build/configuration/configuration
*/
{
"$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
"appId": "YourAppID",
"asar": true,
"icon": "public/favicon.ico",
"directories": {
"output": "release/${version}"
},
@ -12,13 +12,18 @@
"dist-electron",
"dist"
],
"linux": {
"icon": "public/icon.png",
},
"mac": {
"artifactName": "${productName}_${version}.${ext}",
"icon": "public/icon.icns",
"target": [
"dmg"
]
},
"win": {
"icon": "public/icon.ico",
"target": [
{
"target": "nsis",

BIN
public/icon.icns Normal file

Binary file not shown.

BIN
public/icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

BIN
public/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB