linux: don't use hardcoded path for Exec and Icon

Desktop files respect $PATH and $XDG_DATA_DIRS, so the full path does
not need to be specified to either.

This fixes the Flatpak build by allowing Flatpak to rewrite these to
match the app ID.
This commit is contained in:
Owen D'Aprile
2022-09-25 15:12:23 -04:00
parent 74b00570dd
commit 9d7931c8c2

View File

@ -3,8 +3,8 @@ Encoding=UTF-8
Type=Application Type=Application
Name=Samplebrain Name=Samplebrain
Comment=A sample masher designed by Aphex Twin Comment=A sample masher designed by Aphex Twin
Exec=/usr/bin/samplebrain Exec=samplebrain
Icon=/usr/share/icons/hicolor/scalable/apps/samplebrain.svg Icon=samplebrain
Terminal=false Terminal=false
Categories=GNOME;Application; Categories=GNOME;Application;
StartupNotify=true StartupNotify=true