mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 23:31:52 +01:00
Added Gog Galaxy to the NSLGameScanner
This commit is contained in:
parent
3d818cde98
commit
098f0c01c2
@ -2266,11 +2266,15 @@ if [[ -f "$gog_galaxy_path1" ]]; then
|
|||||||
gogshortcutdirectory="\"$gog_galaxy_path1\""
|
gogshortcutdirectory="\"$gog_galaxy_path1\""
|
||||||
goglaunchoptions="STEAM_COMPAT_DATA_PATH=\"${logged_in_home}/.local/share/Steam/steamapps/compatdata/NonSteamLaunchers/\" %command%"
|
goglaunchoptions="STEAM_COMPAT_DATA_PATH=\"${logged_in_home}/.local/share/Steam/steamapps/compatdata/NonSteamLaunchers/\" %command%"
|
||||||
gogstartingdir="\"$(dirname "$gog_galaxy_path1")\""
|
gogstartingdir="\"$(dirname "$gog_galaxy_path1")\""
|
||||||
|
echo "export gog_galaxy_launcher=NonSteamLaunchers" >> ${logged_in_home}/.config/systemd/user/env_vars
|
||||||
|
echo "Gog Galaxy Launcher found at path 1"
|
||||||
elif [[ -f "$gog_galaxy_path2" ]]; then
|
elif [[ -f "$gog_galaxy_path2" ]]; then
|
||||||
# Gog Galaxy Launcher is installed at path 2
|
# Gog Galaxy Launcher is installed at path 2
|
||||||
gogshortcutdirectory="\"$gog_galaxy_path2\""
|
gogshortcutdirectory="\"$gog_galaxy_path2\""
|
||||||
goglaunchoptions="STEAM_COMPAT_DATA_PATH=\"${logged_in_home}/.local/share/Steam/steamapps/compatdata/GogGalaxyLauncher/\" %command%"
|
goglaunchoptions="STEAM_COMPAT_DATA_PATH=\"${logged_in_home}/.local/share/Steam/steamapps/compatdata/GogGalaxyLauncher/\" %command%"
|
||||||
gogstartingdir="\"$(dirname "$gog_galaxy_path2")\""
|
gogstartingdir="\"$(dirname "$gog_galaxy_path2")\""
|
||||||
|
echo "export gog_galaxy_launcher=GogGalaxyLauncher" >> ${logged_in_home}/.config/systemd/user/env_vars
|
||||||
|
echo "Gog Galaxy Launcher found at path 2"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user