mirror of
https://github.com/the-sane/lug-helper.git
synced 2025-10-11 07:02:20 +00:00
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)
This commit is contained in:
@@ -2479,9 +2479,8 @@ Comment=RSI Launcher
|
|||||||
Keywords=Star Citizen;StarCitizen
|
Keywords=Star Citizen;StarCitizen
|
||||||
StartupNotify=true
|
StartupNotify=true
|
||||||
StartupWMClass=rsi launcher.exe
|
StartupWMClass=rsi launcher.exe
|
||||||
Icon=rsi-launcher.png
|
Icon=rsi-launcher
|
||||||
Exec=\"$installed_launch_script\"
|
Exec=\"$installed_launch_script\"" > "$prefix_desktop_file"
|
||||||
Path=$(echo "$install_dir" | sed 's/ /\\\s/g')/dosdevices/c:/Program\sFiles/Roberts\sSpace\sIndustries/RSI\sLauncher" > "$prefix_desktop_file"
|
|
||||||
|
|
||||||
# Copy the new desktop file to ~/.local/share/applications
|
# Copy the new desktop file to ~/.local/share/applications
|
||||||
mkdir -p "$data_dir/applications"
|
mkdir -p "$data_dir/applications"
|
||||||
|
Reference in New Issue
Block a user