mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-11-20 08:09:18 +01:00
Fixed Hanging of Battle.net
~Removed pkill command and allowed window to pop up which should allow installation and sign in
This commit is contained in:
parent
3525f9ea90
commit
ce5b125cf7
@ -1650,20 +1650,11 @@ if [[ $options == *"Battle.net"* ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Run the BATTLE file using Proton with the /passive option
|
# Run the BATTLE file using Proton with the /passive option
|
||||||
echo "Running 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" &
|
"$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
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
wait
|
wait
|
||||||
|
|
||||||
echo "80"
|
echo "80"
|
||||||
|
Loading…
Reference in New Issue
Block a user