fix: Use .ico file on Windows (#1544)

* use ico file on windows
This commit is contained in:
Michael Levy
2026-01-15 15:25:43 +13:00
committed by GitHub
parent ae49e3cf2f
commit 244aebb0f5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ win:
target:
- zip
- nsis
icon: assets/icons/icon.png
icon: assets/icons/icon.ico
nsis:
allowToChangeInstallationDirectory: true
+1 -1
View File
@@ -273,7 +273,7 @@ async function createWindow(first = true): Promise<void> {
autoHideMenuBar: true,
frame: false,
height: 900,
icon: getAssetPath('icons/icon.png'),
icon: isWindows() ? getAssetPath('icons/icon.ico') : getAssetPath('icons/icon.png'),
minHeight: 640,
minWidth: 480,
show: false,