diff --git a/electron-builder.json5 b/electron-builder.json5 index be68d3e..ecbfb6f 100644 --- a/electron-builder.json5 +++ b/electron-builder.json5 @@ -36,7 +36,7 @@ } ], "artifactName": "${productName}_${version}.${ext}", - "icon": "public/favicon.png" + "icon": "public/favicon.ico" }, "nsis": { "oneClick": false, diff --git a/electron/main/index.ts b/electron/main/index.ts index d20ef44..841e029 100644 --- a/electron/main/index.ts +++ b/electron/main/index.ts @@ -47,7 +47,7 @@ const indexHtml = join(process.env.DIST, 'index.html') async function createWindow() { win = new BrowserWindow({ title: 'Main window', - icon: join(process.env.PUBLIC, 'favicon.png'), + icon: join(process.env.PUBLIC, 'favicon.ico'), //titleBarStyle: 'customButtonsOnHover', autoHideMenuBar: true, webPreferences: { diff --git a/index.html b/index.html index de93108..6f8495a 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@
- + diff --git a/public/favicon.png b/public/favicon.png deleted file mode 100644 index 821259a..0000000 Binary files a/public/favicon.png and /dev/null differ