You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The launcher entry previously referenced the app icon by absolute path
(Icon=/.../assets/icon.png). When that PNG is replaced in-place between
builds, GNOME and several other launchers keep showing the *original*
cached image because their thumbnail cache doesn't reliably invalidate
on path+mtime alone — which is what just happened with the v1.2.2 icon
swap on the dev machine.
Fix: install the icon into the user's hicolor icon theme at
~/.local/share/icons/hicolor/256x256/apps/redalert.png and reference it
by themed name (Icon=redalert) in the .desktop file. Themed icons go
through the icon-theme cache, which we also nudge with a best-effort
gtk-update-icon-cache call. Falls back to the absolute-path form if
the theme install fails for any reason.
Also fires update-desktop-database after writing the launcher entry.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments