From 2b8c9bf22a87a07e0a1f10620c8d7b409bd437e0 Mon Sep 17 00:00:00 2001 From: algerkong Date: Fri, 2 May 2025 19:40:53 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore:=20=E6=9B=B4=E6=96=B0=20El?= =?UTF-8?q?ectron=20=E7=89=88=E6=9C=AC=E8=87=B3=2036.1.0=EF=BC=8C=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E5=BA=94=E7=94=A8=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/main/index.ts | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) 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;