🔧 chore: 更新 Electron 版本至 36.1.0,修改应用图标

This commit is contained in:
algerkong
2025-05-02 19:40:53 +08:00
parent c7d586407e
commit 2b8c9bf22a
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -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",
+1 -3
View File
@@ -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;