added 20 seconds

This commit is contained in:
Roy 2024-03-19 14:41:26 -07:00 committed by GitHub
parent a317657f6c
commit 3551289e7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"
# Wait for the process to finish or timeout after a certain number of attempts
max_attempts=10
max_attempts=20
attempt=0
while true; do
if pgrep -f "Battle.net.exe" > /dev/null; then