mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-22 21:23:02 +01:00
* Linux: ship Hex's icon as anomaly.hex everywhere (#652) * Linux icons: mark Hex-written PNGs, keep the user's own, tidy autostart Icon (review) * AGENTS: icon mark * Installer: touch hicolor best-effort
10 lines
406 B
Shell
Executable file
10 lines
406 B
Shell
Executable file
#!/bin/sh
|
|
# The .deb and .rpm postinst and postrm: launchers find Hex's entry and its
|
|
# anomaly.hex icon without waiting for the desktop to rescan.
|
|
if command -v gtk-update-icon-cache >/dev/null 2>&1; then
|
|
gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor || true
|
|
fi
|
|
if command -v update-desktop-database >/dev/null 2>&1; then
|
|
update-desktop-database -q /usr/share/applications || true
|
|
fi
|
|
exit 0
|