diff --git a/apps/desktop/assets/icon-mac.png b/apps/desktop/assets/icon-mac.png new file mode 100644 index 0000000000..d6a88bca1b Binary files /dev/null and b/apps/desktop/assets/icon-mac.png differ diff --git a/apps/desktop/electron/main.ts b/apps/desktop/electron/main.ts index c9ce12af77..0245042f6c 100644 --- a/apps/desktop/electron/main.ts +++ b/apps/desktop/electron/main.ts @@ -14720,7 +14720,8 @@ function createWindow() { // Packaged builds keep the bundle icon so macOS can style it (#73195). if (icon && shouldOverrideDockIcon({ platform: process.platform, isPackaged: app.isPackaged })) { - app.dock?.setIcon(icon) + // The window icon is full-bleed for Linux; the Dock wants the mac grid. + app.dock?.setIcon(resolveAppIcon([path.join(APP_ROOT, 'assets', 'icon-mac.png')]) ?? icon) } } diff --git a/apps/desktop/public/apple-touch-icon.png b/apps/desktop/public/apple-touch-icon.png index d6a88bca1b..831c9797d4 100644 Binary files a/apps/desktop/public/apple-touch-icon.png and b/apps/desktop/public/apple-touch-icon.png differ diff --git a/scripts/generate_icons.py b/scripts/generate_icons.py index df01dd7e4a..815f3c4b23 100644 --- a/scripts/generate_icons.py +++ b/scripts/generate_icons.py @@ -175,8 +175,9 @@ TARGETS: list[tuple[str, str, object]] = [ ("apps/desktop/assets/appx/StoreLogo-dark.png", "png_dark", 50), ("apps/desktop/assets/appx/Square44x44Logo-dark.png", "png_dark", 44), ("apps/desktop/assets/appx/Square150x150Logo-dark.png", "png_dark", 150), - # The dev-run Dock icon (app.dock.setIcon), so it sits on the mac grid too. - ("apps/desktop/public/apple-touch-icon.png", "png_mac", 1024), + ("apps/desktop/public/apple-touch-icon.png", "png", 1024), + # The dev-run Dock icon (app.dock.setIcon): same mac grid as the icns. + ("apps/desktop/assets/icon-mac.png", "png_mac", 1024), ("apps/desktop/public/nous-girl.png", "girl_light", 256), ("apps/desktop/public/nous-girl-dark.png", "girl_dark", 256), ("apps/bootstrap-installer/src-tauri/icons/32x32.png", "png", 32),