Skip to content

Commit

Permalink
fix battlnet
Browse files Browse the repository at this point in the history
  • Loading branch information
moraroy authored Aug 28, 2024
1 parent 187873c commit e370ee4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions NonSteamLaunchers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1217,12 +1217,6 @@ function install_gog {
# Battle.net specific installation steps
function install_battlenet {
terminate_processes "Battle.net.exe" #"BlizzardError.exe"
# First installation
echo "Starting first installation of Battle.net"
"$STEAM_RUNTIME" "$proton_dir/proton" run "$battle_file" Battle.net-Setup.exe --lang=enUS --installpath="C:\Program Files (x86)\Battle.net" &
first_install_pid=$!
# Wait for a short period before starting the second installation
sleep 10 # Adjust the sleep duration as needed
# Second installation
echo "Starting second installation of Battle.net"
"$STEAM_RUNTIME" "$proton_dir/proton" run "$battle_file" Battle.net-Setup.exe --lang=enUS --installpath="C:\Program Files (x86)\Battle.net" &
Expand Down

0 comments on commit e370ee4

Please sign in to comment.