Skip to content

Commit

Permalink
fix: icon according to docs, doesn't work?
Browse files Browse the repository at this point in the history
  • Loading branch information
duzda committed Apr 21, 2024
1 parent 27f6e17 commit e7f4de3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
Binary file modified build/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/icons/4096x4096.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const config: ForgeConfig = {
new MakerAppImage({
options: {
productName: "Deezer Enhanced",
icon: "./build/icon.svg",
icon: "./build/icon.png",
categories: ["Audio"],
},
}),
Expand All @@ -46,14 +46,14 @@ const config: ForgeConfig = {
new MakerDeb({
options: {
productName: "Deezer Enhanced",
icon: "./build/icon.svg",
icon: "./build/icon.png",
categories: ["Audio"],
},
}),
new MakerRpm({
options: {
productName: "Deezer Enhanced",
icon: "./build/icon.svg",
icon: "./build/icon.png",
categories: ["Audio"],
},
}),
Expand Down
5 changes: 5 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ if (!gotTheLock) {
preload: path.join(__dirname, 'preload.js'),
},
show: false,
icon: path.join(
app.isPackaged ? process.resourcesPath : '.',
'assets',
'icon.png'
),
});

if (MAIN_WINDOW_VITE_DEV_SERVER_URL) {
Expand Down

0 comments on commit e7f4de3

Please sign in to comment.