diff --git a/electron-builder.json5 b/electron-builder.json5 index ecbfb6f..be68d3e 100644 --- a/electron-builder.json5 +++ b/electron-builder.json5 @@ -36,7 +36,7 @@ } ], "artifactName": "${productName}_${version}.${ext}", - "icon": "public/favicon.ico" + "icon": "public/favicon.png" }, "nsis": { "oneClick": false, diff --git a/electron/main/index.ts b/electron/main/index.ts index 841e029..d20ef44 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.ico'), + icon: join(process.env.PUBLIC, 'favicon.png'), //titleBarStyle: 'customButtonsOnHover', autoHideMenuBar: true, webPreferences: { diff --git a/index.html b/index.html index 6f8495a..de93108 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ - + diff --git a/public/favicon.png b/public/favicon.png new file mode 100644 index 0000000..821259a Binary files /dev/null and b/public/favicon.png differ