From 244aebb0f566898a2ce48a3823eb3c5a92988d13 Mon Sep 17 00:00:00 2001 From: Michael Levy <62049197+michaelevy@users.noreply.github.com> Date: Thu, 15 Jan 2026 15:25:43 +1300 Subject: [PATCH] fix: Use .ico file on Windows (#1544) * use ico file on windows --- electron-builder.yml | 2 +- src/main/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/electron-builder.yml b/electron-builder.yml index 0abca6065..e8b9a04fe 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -15,7 +15,7 @@ win: target: - zip - nsis - icon: assets/icons/icon.png + icon: assets/icons/icon.ico nsis: allowToChangeInstallationDirectory: true diff --git a/src/main/index.ts b/src/main/index.ts index d3b789e75..6f79b60ec 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -273,7 +273,7 @@ async function createWindow(first = true): Promise { 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,