mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-24 18:22:38 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user