Skip to content

Commit

Permalink
Remove incorrect linux icon config to fix linux app no icon issue
Browse files Browse the repository at this point in the history
According to the official electron-builder doc:

> Linux icon set will be generated automatically based on the macOS
> `icns` file or common `icon.png`.
>
> Or you can put them into the `build/icons` directory if you want to
> specify them yourself.
> The filename must contain the size (e.g. `256x256.png`) of the icon).
> Recommended sizes: 16, 32, 48, 64, 128, 256 (or just 512).

The old config is somehow wrong.

Reference:
- https://www.electron.build/icons#linux
  • Loading branch information
PeterDaveHello authored and sunner committed May 4, 2024
1 parent 25f05ff commit ad7bd9b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ module.exports = defineConfig({
},
linux: {
target: ["AppImage", "deb"],
icon: "src/assets/icon.png",
},
nsis: {
oneClick: false,
Expand Down

0 comments on commit ad7bd9b

Please sign in to comment.