Use Omarchy command helpers consistently

This commit is contained in:
David Heinemeier Hansson
2026-07-18 10:08:43 -07:00
parent bd34704f7b
commit 8862fb22bd
23 changed files with 54 additions and 46 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ for file in "${tui_desktop_files[@]}"; do
rm -f "$ICON_DIR/$icon_name.png" "$ICON_DIR/$app_name.png" "$OLD_ICON_DIR/$app_name.png"
done
if command -v update-desktop-database &>/dev/null; then
if omarchy-cmd-present update-desktop-database; then
update-desktop-database "$APP_DIR" &>/dev/null || true
fi