mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-16 13:03:31 +08:00
The previous icon fix solved the square-background issue on older macOS versions, but it overcorrected by removing the card entirely and turning the app mark into a bare transparent glyph. This keeps the icon light and app-like again by using a shallow light card as the icon body while still removing the extra outer background that made uncropped icons look wrong. Constraint: Older macOS versions may expose the bundled icon without applying the newer rounded mask treatment Constraint: The desktop bundle must keep app-icon.svg and generated PNG/ICNS/ICO assets aligned Rejected: Keep the transparent-only glyph | no longer reads like the intended app icon in Finder and DMG views Rejected: Restore the original AI-generated image wholesale | reintroduces the outer background that caused the square-icon issue Confidence: high Scope-risk: narrow Reversibility: clean Directive: Treat desktop/src-tauri/app-icon.svg as the canonical source and regenerate the bundled icon assets in the same change Tested: desktop bun run lint; desktop bun run test; extracted regenerated icon.icns for visual verification Not-tested: Full DMG rebuild and manual Finder/Dock verification on older macOS