forked from CastroFidel/PortWINE
Scripts version 2207
This commit is contained in:
@ -7,6 +7,7 @@ start_portwine
|
||||
if try_download "https://www.battle.net/download/getInstallerForGame?os=win&version=LIVE&gameProgram=BATTLENET_APP" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
# PW_START_PROGRESS_BAR "${loc_gui_installing_the} Battle Net. ${loc_gui_please_wait} "
|
||||
try_remove_dir "$WINEPREFIX/drive_c/ProgramData/Battle.net"
|
||||
pw_kill_autostart Battle.net.exe &
|
||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||
portwine_exe=`find "$WINEPREFIX/drive_c/" -type f -name "Battle.net.exe" | grep "Battle.net/Battle.net.exe"`
|
||||
|
@ -1,9 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: Castro-Fidel (linux-gaming.ru)
|
||||
########################################################################
|
||||
export LAUNCH_PARAMETERS=("/q" )
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/gi_installer.exe"
|
||||
export PW_USE_D3D_EXTRAS=1
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/gi_installer.exe"
|
||||
export PW_PREFIX_NAME="GENSHIN_IMPACT"
|
||||
|
||||
start_portwine
|
||||
|
||||
@ -11,6 +11,7 @@ if try_download "https://ys-api-os.mihoyo.com/event/download_porter/link/ys_glob
|
||||
then
|
||||
pw_start_progress_bar_block "Installing Genshin Impact Launcher. ${loc_gui_please_wait} "
|
||||
pw_kill_autostart launcher.exe &
|
||||
export PATH_TO_GAME="${PW_USER_TEMP}"
|
||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||
portwine_exe="$WINEPREFIX/drive_c/Program Files/Genshin Impact/launcher.exe"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
|
Reference in New Issue
Block a user