Files
sfxkeeb/build/linux/nfpm/scripts/postinstall.sh
T
end f5feefe844 chore(wails): scaffold v3 project boilerplate
Wails v3 replaces the NPM-only dev entry point. This adds the Go module,
Taskfile, build metadata, and a minimal window shell without touching
frontend logic.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 22:20:21 -07:00

22 lines
825 B
Bash

#!/bin/sh
# Update desktop database for .desktop file changes
# This makes the application appear in application menus and registers its capabilities.
if command -v update-desktop-database >/dev/null 2>&1; then
echo "Updating desktop database..."
update-desktop-database -q /usr/share/applications
else
echo "Warning: update-desktop-database command not found. Desktop file may not be immediately recognized." >&2
fi
# Update MIME database for custom URL schemes (x-scheme-handler)
# This ensures the system knows how to handle your custom protocols.
if command -v update-mime-database >/dev/null 2>&1; then
echo "Updating MIME database..."
update-mime-database -n /usr/share/mime
else
echo "Warning: update-mime-database command not found. Custom URL schemes may not be immediately recognized." >&2
fi
exit 0