mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 15:21:52 +01:00
added 20 seconds
This commit is contained in:
parent
a317657f6c
commit
3551289e7f
@ -1593,7 +1593,7 @@ if [[ $options == *"Battle.net"* ]]; then
|
|||||||
"$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"
|
||||||
|
|
||||||
# Wait for the process to finish or timeout after a certain number of attempts
|
# Wait for the process to finish or timeout after a certain number of attempts
|
||||||
max_attempts=10
|
max_attempts=20
|
||||||
attempt=0
|
attempt=0
|
||||||
while true; do
|
while true; do
|
||||||
if pgrep -f "Battle.net.exe" > /dev/null; then
|
if pgrep -f "Battle.net.exe" > /dev/null; then
|
||||||
|
Loading…
Reference in New Issue
Block a user