From e4cd2d1ad08a452e75c3ea316cf4c41d15fe8f60 Mon Sep 17 00:00:00 2001 From: Mohamed Boudra Date: Sun, 6 Sep 2026 12:34:17 +0200 Subject: [PATCH] fix(desktop): preserve the packaged macOS Dock icon (#4389) The startup override replaced the bundle icon with a flat PNG even in packaged builds. Limit the override to development so macOS retains the bundle icon appearance. --- packages/desktop/src/main.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/desktop/src/main.ts b/packages/desktop/src/main.ts index 05230b2556..64cf4a9519 100644 --- a/packages/desktop/src/main.ts +++ b/packages/desktop/src/main.ts @@ -634,7 +634,8 @@ async function getEffectiveAppIconPath(): Promise { } async function applyAppIcon(): Promise { - if (process.platform !== "darwin") { + // Packaged apps keep the bundle icon and its macOS system appearance. + if (app.isPackaged || process.platform !== "darwin") { return; }