From e1c53dbc95362fa7780e90458681b6399a536bab Mon Sep 17 00:00:00 2001 From: Roy <88516395+moraroy@users.noreply.github.com> Date: Thu, 1 Feb 2024 20:50:15 -0800 Subject: [PATCH] Added Battle.net for NSLGameScanner --- NonSteamLaunchers.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NonSteamLaunchers.sh b/NonSteamLaunchers.sh index 8d0853d..cf1e8f1 100755 --- a/NonSteamLaunchers.sh +++ b/NonSteamLaunchers.sh @@ -2245,11 +2245,15 @@ if [[ -f "$battlenet_path1" ]]; then battlenetshortcutdirectory="\"$battlenet_path1\"" battlenetlaunchoptions="STEAM_COMPAT_DATA_PATH=\"${logged_in_home}/.local/share/Steam/steamapps/compatdata/NonSteamLaunchers/\" %command%" battlenetstartingdir="\"$(dirname "$battlenet_path1")\"" + echo "export bnet_launcher=NonSteamLaunchers" >> ${logged_in_home}/.config/systemd/user/env_vars + echo "Battlenet Launcher found at path 1" elif [[ -f "$battlenet_path2" ]]; then # Battlenet Launcher is installed at path 2 battlenetshortcutdirectory="\"$battlenet_path2\"" battlenetlaunchoptions="STEAM_COMPAT_DATA_PATH=\"${logged_in_home}/.local/share/Steam/steamapps/compatdata/Battle.netLauncher/\" %command%" battlenetstartingdir="\"$(dirname "$battlenet_path2")\"" + echo "export bnet_launcher=Battle.netLauncher" >> ${logged_in_home}/.config/systemd/user/env_vars + echo "Battlenet Launcher found at path 2" fi if [[ -f "$eaapp_path1" ]]; then