The previous fix attached a 32x32 @2x representation to the 16x16 PNG, which only covers 100% and 200% scale factors. Users on 125/150/175/ 250%+ still got a blurry tray icon because Windows had to resample from one of those two sizes. Ship a proper multi-size tray-icon.ico (16, 20, 24, 32, 40, 48, 64) and point the Windows tray loader at it. Windows picks the closest size per DPI scale on its own, so no addRepresentation / resize juggling is needed. Linux keeps the existing PNG + @2x path; macOS is unchanged. Also add scripts/generate-tray-ico.py so the .ico can be regenerated from public/icon-win.png whenever the source artwork changes. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
14 KiB
14 KiB