Commit 0de5f542 authored by Mikhail Tergoev's avatar Mikhail Tergoev

updated url for wgc

parent 204a95f0
...@@ -7,13 +7,11 @@ ...@@ -7,13 +7,11 @@
# info_ru: Лаунчер для игр Wargaming. # info_ru: Лаунчер для игр Wargaming.
######################################################################## ########################################################################
export LAUNCH_PARAMETERS="/VERYSILENT" export LAUNCH_PARAMETERS="/VERYSILENT"
[[ "$LANGUAGE" == "ru" ]] && export WGC_LOC=RU || export WGC_LOC=EU export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Wargaming_Game_Center_Install_WoT_EU.exe"
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Wargaming_Game_Center_Install_WoT_${WGC_LOC}.exe"
export PW_PREFIX_NAME="WGC" export PW_PREFIX_NAME="WGC"
start_portwine start_portwine
if try_download "https://redirect.wargaming.net/WGC/Wargaming_Game_Center_Install_WoT_EU.exe" "${PW_AUTOINSTALL_EXE}" no_mirror
if try_download "https://redirect.wargaming.net/WGC/Wargaming_Game_Center_Install_WoT_${WGC_LOC}.exe" "${PW_AUTOINSTALL_EXE}" no_mirror
then then
pw_start_progress_bar_install_game "Wargaming Game Center." pw_start_progress_bar_install_game "Wargaming Game Center."
pw_kill_autostart wgc.exe & pw_kill_autostart wgc.exe &
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment