From ce5b125cf70af81a740f3af74c9d6d5fd07d46bd Mon Sep 17 00:00:00 2001 From: Roy <88516395+moraroy@users.noreply.github.com> Date: Wed, 7 Jun 2023 21:34:28 -0700 Subject: [PATCH] Fixed Hanging of Battle.net ~Removed pkill command and allowed window to pop up which should allow installation and sign in --- NonSteamLaunchers.sh | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/NonSteamLaunchers.sh b/NonSteamLaunchers.sh index 28c13aa..abb01b7 100644 --- a/NonSteamLaunchers.sh +++ b/NonSteamLaunchers.sh @@ -1650,20 +1650,11 @@ if [[ $options == *"Battle.net"* ]]; then fi # Run the BATTLE file using Proton with the /passive option - echo "Running BATTLE file using Proton with the /passive option" - "$STEAM_RUNTIME" "$proton_dir/proton" run "$battle_file" Battle.net-Setup.exe --lang=enUS --installpath="C:\Program Files (x86)\Battle.net" & - - while true; do - if pgrep -f "Battle.net.exe" > /dev/null; then - pkill -f "Battle.net.exe" - break - fi - sleep 1 -done + echo "Running BATTLE file using Proton with the /passive option" + "$STEAM_RUNTIME" "$proton_dir/proton" run "$battle_file" Battle.net-Setup.exe --lang=enUS --installpath="C:\Program Files (x86)\Battle.net" fi fi - wait echo "80"