diff --git a/cc-haha/desktop/public/app-icon.png b/cc-haha/desktop/public/app-icon.png index 26b60c1..62b838c 100644 Binary files a/cc-haha/desktop/public/app-icon.png and b/cc-haha/desktop/public/app-icon.png differ diff --git a/cc-haha/desktop/src-tauri/icons/128x128.png b/cc-haha/desktop/src-tauri/icons/128x128.png index 30ba0b3..2a9f239 100644 Binary files a/cc-haha/desktop/src-tauri/icons/128x128.png and b/cc-haha/desktop/src-tauri/icons/128x128.png differ diff --git a/cc-haha/desktop/src-tauri/icons/128x128@2x.png b/cc-haha/desktop/src-tauri/icons/128x128@2x.png index 56310da..6072d12 100644 Binary files a/cc-haha/desktop/src-tauri/icons/128x128@2x.png and b/cc-haha/desktop/src-tauri/icons/128x128@2x.png differ diff --git a/cc-haha/desktop/src-tauri/icons/32x32.png b/cc-haha/desktop/src-tauri/icons/32x32.png index c355571..717b48d 100644 Binary files a/cc-haha/desktop/src-tauri/icons/32x32.png and b/cc-haha/desktop/src-tauri/icons/32x32.png differ diff --git a/cc-haha/desktop/src-tauri/icons/64x64.png b/cc-haha/desktop/src-tauri/icons/64x64.png index 274972e..adf348e 100644 Binary files a/cc-haha/desktop/src-tauri/icons/64x64.png and b/cc-haha/desktop/src-tauri/icons/64x64.png differ diff --git a/cc-haha/desktop/src-tauri/icons/Square107x107Logo.png b/cc-haha/desktop/src-tauri/icons/Square107x107Logo.png index 8a28d9e..35427aa 100644 Binary files a/cc-haha/desktop/src-tauri/icons/Square107x107Logo.png and b/cc-haha/desktop/src-tauri/icons/Square107x107Logo.png differ diff --git a/cc-haha/desktop/src-tauri/icons/Square142x142Logo.png b/cc-haha/desktop/src-tauri/icons/Square142x142Logo.png index 2ca9c17..b757bab 100644 Binary files a/cc-haha/desktop/src-tauri/icons/Square142x142Logo.png and b/cc-haha/desktop/src-tauri/icons/Square142x142Logo.png differ diff --git a/cc-haha/desktop/src-tauri/icons/Square150x150Logo.png b/cc-haha/desktop/src-tauri/icons/Square150x150Logo.png index 95c30a3..85c8ead 100644 Binary files a/cc-haha/desktop/src-tauri/icons/Square150x150Logo.png and b/cc-haha/desktop/src-tauri/icons/Square150x150Logo.png differ diff --git a/cc-haha/desktop/src-tauri/icons/Square284x284Logo.png b/cc-haha/desktop/src-tauri/icons/Square284x284Logo.png index 83875ee..bbf281b 100644 Binary files a/cc-haha/desktop/src-tauri/icons/Square284x284Logo.png and b/cc-haha/desktop/src-tauri/icons/Square284x284Logo.png differ diff --git a/cc-haha/desktop/src-tauri/icons/Square30x30Logo.png b/cc-haha/desktop/src-tauri/icons/Square30x30Logo.png index cf9ead0..0af7a69 100644 Binary files a/cc-haha/desktop/src-tauri/icons/Square30x30Logo.png and b/cc-haha/desktop/src-tauri/icons/Square30x30Logo.png differ diff --git a/cc-haha/desktop/src-tauri/icons/Square310x310Logo.png b/cc-haha/desktop/src-tauri/icons/Square310x310Logo.png index bdad1fa..7349c0f 100644 Binary files a/cc-haha/desktop/src-tauri/icons/Square310x310Logo.png and b/cc-haha/desktop/src-tauri/icons/Square310x310Logo.png differ diff --git a/cc-haha/desktop/src-tauri/icons/Square44x44Logo.png b/cc-haha/desktop/src-tauri/icons/Square44x44Logo.png index dfd73ae..0555d33 100644 Binary files a/cc-haha/desktop/src-tauri/icons/Square44x44Logo.png and b/cc-haha/desktop/src-tauri/icons/Square44x44Logo.png differ diff --git a/cc-haha/desktop/src-tauri/icons/Square71x71Logo.png b/cc-haha/desktop/src-tauri/icons/Square71x71Logo.png index 99f855b..987c319 100644 Binary files a/cc-haha/desktop/src-tauri/icons/Square71x71Logo.png and b/cc-haha/desktop/src-tauri/icons/Square71x71Logo.png differ diff --git a/cc-haha/desktop/src-tauri/icons/Square89x89Logo.png b/cc-haha/desktop/src-tauri/icons/Square89x89Logo.png index 119d532..f9d0842 100644 Binary files a/cc-haha/desktop/src-tauri/icons/Square89x89Logo.png and b/cc-haha/desktop/src-tauri/icons/Square89x89Logo.png differ diff --git a/cc-haha/desktop/src-tauri/icons/StoreLogo.png b/cc-haha/desktop/src-tauri/icons/StoreLogo.png index c120975..3ba6c4e 100644 Binary files a/cc-haha/desktop/src-tauri/icons/StoreLogo.png and b/cc-haha/desktop/src-tauri/icons/StoreLogo.png differ diff --git a/cc-haha/desktop/src-tauri/icons/icon.png b/cc-haha/desktop/src-tauri/icons/icon.png index 26b60c1..62b838c 100644 Binary files a/cc-haha/desktop/src-tauri/icons/icon.png and b/cc-haha/desktop/src-tauri/icons/icon.png differ diff --git a/scripts/rebuild-icons.py b/scripts/rebuild-icons.py index a3bbed4..c1b8034 100644 --- a/scripts/rebuild-icons.py +++ b/scripts/rebuild-icons.py @@ -48,7 +48,13 @@ def main(): } for path, size in sizes.items(): path.parent.mkdir(parents=True, exist_ok=True) - base.resize((size, size), Image.LANCZOS).save(path, "PNG") + # Tauri's macOS bundler rejects non-RGBA PNGs ("icon ... is not RGBA"). + # Force RGBA on every PNG output so the same files work for both + # Windows .ico embedding and macOS .icns embedding without per-platform + # branches. Alpha channel is fully opaque (255) since we paint on + # solid white in load_trimmed_square — the rounded glass edges of the + # logo retain their painted look on any background. + base.resize((size, size), Image.LANCZOS).convert("RGBA").save(path, "PNG") print(f"wrote {path} ({size})") # Windows Square*Logo / StoreLogo @@ -66,7 +72,13 @@ def main(): } for name, size in win_sizes.items(): path = TAURI_ICONS / name - base.resize((size, size), Image.LANCZOS).save(path, "PNG") + # Tauri's macOS bundler rejects non-RGBA PNGs ("icon ... is not RGBA"). + # Force RGBA on every PNG output so the same files work for both + # Windows .ico embedding and macOS .icns embedding without per-platform + # branches. Alpha channel is fully opaque (255) since we paint on + # solid white in load_trimmed_square — the rounded glass edges of the + # logo retain their painted look on any background. + base.resize((size, size), Image.LANCZOS).convert("RGBA").save(path, "PNG") print(f"wrote {path} ({size})") # ICO with multi-resolution.