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.
This commit is contained in:
Mohamed Boudra
2026-09-06 12:34:17 +02:00
committed by GitHub
parent ae80ec4252
commit e4cd2d1ad0
+2 -1
View File
@@ -634,7 +634,8 @@ async function getEffectiveAppIconPath(): Promise<string | null> {
}
async function applyAppIcon(): Promise<void> {
if (process.platform !== "darwin") {
// Packaged apps keep the bundle icon and its macOS system appearance.
if (app.isPackaged || process.platform !== "darwin") {
return;
}