mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 07:11:52 +01:00
fix battlnet
This commit is contained in:
parent
187873c074
commit
e370ee4055
@ -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" &
|
||||
|
Loading…
Reference in New Issue
Block a user