From 098f0c01c254efd5a68e911f7da2c61a4764c6e9 Mon Sep 17 00:00:00 2001 From: Roy <88516395+moraroy@users.noreply.github.com> Date: Fri, 26 Jan 2024 01:17:43 -0800 Subject: [PATCH] Added Gog Galaxy to the NSLGameScanner --- NonSteamLaunchers.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NonSteamLaunchers.sh b/NonSteamLaunchers.sh index 71cf3ab..18e0728 100755 --- a/NonSteamLaunchers.sh +++ b/NonSteamLaunchers.sh @@ -2266,11 +2266,15 @@ if [[ -f "$gog_galaxy_path1" ]]; then gogshortcutdirectory="\"$gog_galaxy_path1\"" goglaunchoptions="STEAM_COMPAT_DATA_PATH=\"${logged_in_home}/.local/share/Steam/steamapps/compatdata/NonSteamLaunchers/\" %command%" 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 # Gog Galaxy Launcher is installed at path 2 gogshortcutdirectory="\"$gog_galaxy_path2\"" goglaunchoptions="STEAM_COMPAT_DATA_PATH=\"${logged_in_home}/.local/share/Steam/steamapps/compatdata/GogGalaxyLauncher/\" %command%" 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