From ca266038fc560c813a9684b970e89845b79d2c41 Mon Sep 17 00:00:00 2001 From: drjaska Date: Fri, 23 Aug 2024 06:42:25 +0300 Subject: [PATCH] Add a note for packagers and/or .desktop file installers --- misc/logos/xonotic.desktop | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/misc/logos/xonotic.desktop b/misc/logos/xonotic.desktop index 1d380942..ab548605 100644 --- a/misc/logos/xonotic.desktop +++ b/misc/logos/xonotic.desktop @@ -6,8 +6,27 @@ Comment=Multiplayer, deathmatch oriented first person shooter Comment[de]=Deathmatch- und Mehrspieler-orientierter Ego-Shooter Comment[fr]=Jeu de tir à la première personne multijoueur Icon=xonotic + +# Note to packagers and/or .desktop file installers: +# +# Either fix the the absolute path +# or +# create a symlink from PATH binaries to the location of xonotic-linux-sdl.sh +# +# If the symlink is created then the PATH relying Exec can be used instead. +# If you move/change Xonotic's binaries and file structure you're on your own. +# If you do go on an adventure then "-basedir" "/path/to/Xonotic" arguments +# or PWD being /path/to/Xonotic may help you. +# +# Installer sed snippet for using the PATH relying Exec: +# sed \ +# -e 's@^Exec=/@#Exec=/@' \ +# -e 's@^#Exec=xonotic-sdl@Exec=xonotic-sdl@' \ +# -i misc/logos/xonotic.desktop +# Exec=/absolute/path/to/xonotic-linux-sdl.sh #Exec=xonotic-sdl + Terminal=false PrefersNonDefaultGPU=true StartupNotify=false -- 2.39.2