mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-21 02:09:25 +08: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
11 lines
406 B
Bash
Executable File
11 lines
406 B
Bash
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
|