mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 07:11:52 +01:00
battle.net window fix
This commit is contained in:
parent
074310bee7
commit
3feb2db23e
@ -1783,6 +1783,15 @@ if [[ $options == *"Battle.net"* ]]; then
|
||||
# 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
|
||||
|
||||
fi
|
||||
|
||||
wait
|
||||
|
Loading…
Reference in New Issue
Block a user