build: install the proper linux desktop file depending on flatpak or not

This commit is contained in:
Mitchell Hashimoto
2023-02-27 15:20:31 -08:00
parent 277fd333ae
commit 5db9854e63
3 changed files with 15 additions and 2 deletions

9
dist/linux/app-flatpak.desktop vendored Normal file
View File

@@ -0,0 +1,9 @@
[Desktop Entry]
Name=Ghostty
Type=Application
Comment=A terminal emulator
Exec=/app/bin/ghostty
Icon=com.mitchellh.ghostty
Keywords=terminal;tty;pty;
StartupNotify=true
Terminal=false

View File

@@ -2,7 +2,7 @@
Name=Ghostty
Type=Application
Comment=A terminal emulator
Exec=/app/bin/ghostty
Exec=/usr/bin/ghostty
Icon=com.mitchellh.ghostty
Keywords=terminal;tty;pty;
StartupNotify=true