fix: Linux icon not working

This commit is contained in:
kik0 2022-09-21 03:31:42 -04:00
parent b2a073cc8d
commit 6e35fbd27c
3 changed files with 5 additions and 2 deletions

View File

@ -43,7 +43,9 @@ Familiar React application structure, just with `electron` folder on the top :wi
│ ├── icon.icns Icon for the application on macOS │ ├── icon.icns Icon for the application on macOS
│ ├── icon.ico Icon for the application │ ├── icon.ico Icon for the application
│ ├── installerIcon.ico Icon for the application installer │ ├── installerIcon.ico Icon for the application installer
│ └── uninstallerIcon.ico Icon for the application uninstaller │ ├── uninstallerIcon.ico Icon for the application uninstaller
| └── iconset
| └── 256x256.png Icon for the application on Linux
├── release Generated after production build, contains executables ├── release Generated after production build, contains executables
│ └── {version} │ └── {version}

View File

@ -31,7 +31,8 @@
artifactName: "${productName}-Mac-${version}-Installer.${ext}", artifactName: "${productName}-Mac-${version}-Installer.${ext}",
}, },
linux: { linux: {
target: ["AppImage"], icon: "electron/resources/iconset",
target: ["AppImage", "deb"],
artifactName: "${productName}-Linux-${version}.${ext}", artifactName: "${productName}-Linux-${version}.${ext}",
}, },
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB