diff --git a/package.json b/package.json index e960543..0083952 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "autoprefixer": "^10.4.20", "axios": "^1.7.7", "cross-env": "^7.0.3", - "electron": "^36.0.0", + "electron": "^36.1.0", "electron-builder": "^25.1.8", "electron-vite": "^3.1.0", "eslint": "^9.0.0", diff --git a/src/main/index.ts b/src/main/index.ts index 70c5510..e4c9656 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -21,9 +21,7 @@ const iconPath = join(__dirname, '../../resources'); const icon = nativeImage.createFromPath( process.platform === 'darwin' ? join(iconPath, 'icon.icns') - : process.platform === 'win32' - ? join(iconPath, 'favicon.ico') - : join(iconPath, 'icon.png') + : join(iconPath, 'icon.png') ); let mainWindow: Electron.BrowserWindow;