Commit graph

4 commits

Author SHA1 Message Date
Avi
114b34319e fix(packaging): restore Linux app icon so dist builds ship an icon
The packaging break: frontend/build/icon.png was deleted from the working
tree, so electron-builder had no Linux icon and every AppImage/deb it
emitted carried the generic Electron placeholder instead of the Keynctr
mark.

Regenerate build/icon.png from KeynectrAppIconPossibility02.jpeg rather than
resizing the old file:
  - cut the white (254) JPEG background to transparent (alpha from luma),
  - flatten the art to a square canvas with symmetric padding,
  - keep the ink pure black (RGB 0,0,0), export 512x512 RGBA.

The 512x512 master satisfies both declared linux targets with the config
kept single (linux.icon: build/icon.png, no build/linux/ fan-out):
  - AppImage: electron-builder downscales to 256 internally (>=256 required).
  - deb: installs usr/share/icons/hicolor/512x512/apps/keynectr.png, matching
    the generated .desktop Icon=keynectr.

Verified end to end (npm run dist green): the embedded icon is byte-identical
(md5 b3e372f7) in the AppImage hicolor set, the AppImage .DirIcon, and the
deb hicolor set, all 512x512 RGBA with real transparency.

The source JPEG (KeynectrAppIconPossibility02.jpeg) stays untracked, as does
the pre-existing hygiene leftover set. No package.json change needed: the
single build/icon.png path is already correct.
2026-09-03 13:13:11 -05:00
Avi
c080a8d1c8 App icon: remove white border, restore original 512x512 dimensions 2026-08-24 13:52:47 -05:00
Avi
90d699cff1 App icon: subtle white border around black artwork 2026-08-24 12:30:37 -05:00
Avi
8a644afd80 App icon: hummingbird-key mark for window and packaged Linux builds 2026-08-24 11:33:45 -05:00