From 4295f5c2e1abe0d154d17ce80509afcb1338b02a Mon Sep 17 00:00:00 2001 From: Tashinka <86743620+Tash1nka@users.noreply.github.com> Date: Mon, 15 Sep 2025 20:13:31 +0200 Subject: [PATCH] fix(desktop file): remove Path field and file extension in Icon field - Remove the 'Path' field as it's used to indicate the working directory for the 'Exec' command. (See: https://specifications.freedesktop.org/desktop-entry-spec/latest/recognized-keys.html#id-1.7.6) - Remove the extension from the 'Icon' field as it breaks the desktop icon on some systems. Keeping the extension will also break the desktop file entry in the future. (See: https://specifications.freedesktop.org/icon-theme-spec/latest/#icon_lookup) --- lug-helper.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lug-helper.sh b/lug-helper.sh index 276797f..8ccf3fe 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -2479,9 +2479,8 @@ Comment=RSI Launcher Keywords=Star Citizen;StarCitizen StartupNotify=true StartupWMClass=rsi launcher.exe -Icon=rsi-launcher.png -Exec=\"$installed_launch_script\" -Path=$(echo "$install_dir" | sed 's/ /\\\s/g')/dosdevices/c:/Program\sFiles/Roberts\sSpace\sIndustries/RSI\sLauncher" > "$prefix_desktop_file" +Icon=rsi-launcher +Exec=\"$installed_launch_script\"" > "$prefix_desktop_file" # Copy the new desktop file to ~/.local/share/applications mkdir -p "$data_dir/applications"