Merge pull request #67 from ernesto-glz/fix-linux-icon

fix: Linux icon not working
This commit is contained in:
Paul 2022-09-21 10:56:52 +03:00 committed by GitHub
commit b3e144ad04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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