mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-24 00:50:44 +00:00
Closes #813. #803 enlarged public/icon.svg's squircle to ~88% of the canvas so the macOS dock icon would match third-party apps that don't leave Apple's HIG grid margin. That fix is right for macOS — the dock already rounds / shadows its own icons and the grid margin lines Netcatty up with neighbors. But every non-mac launcher (Windows taskbar, Start menu, desktop shortcuts, KDE / GNOME launchers, AppImage integrations) renders icons full-bleed into a fixed-size slot, so that ~12% padding shows up as visible empty space around the squircle — the reporter's "taskbar icon looks smaller and blurrier than other apps". Split the icon sources by platform: - public/icon.svg / public/icon.png — unchanged, keeps the #803 88% fill. mac.icon (implicit via top-level) still uses it. - public/icon-win.svg — new source with viewBox="100 100 824 824" (tight-cropped to the squircle) and the faint white outline stroke disabled. Rendered at 1024×1024 into public/icon-win.png. - electron-builder.config.cjs wires win.icon and linux.icon to the new tight-crop source. Top-level icon: stays the padded version so the mac path is unchanged. electron-builder generates a multi-size .ico from a ≥256px PNG on Windows and scales PNG variants for Linux, so a single 1024×1024 source covers both platforms without new build steps. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
51 KiB
1024x1024px
51 KiB
1024x1024px