Update HOYOPLAY autoinstall
This commit is contained in:
parent
223b35c7b2
commit
14f7451372
@ -5,10 +5,11 @@ export PW_VULKAN_USE=2
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Hoyolauncher_installer.exe"
|
||||
export PW_PREFIX_NAME="HO_YO_PLAY"
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="HoYoPlay"
|
||||
export PW_WINE_USE="WINE_LG"
|
||||
|
||||
start_portwine
|
||||
|
||||
if try_download "https://ys-api-os.mihoyo.com/event/download_porter/link/ys_global/genshinimpactpc/default" "${PW_AUTOINSTALL_EXE}" no_mirror
|
||||
if try_download "https://sg-public-api.hoyoverse.com/event/download_porter/trace/hyp_global/hyphoyoverse/default?url=https%3A%2F%2Fhoyoplay.hoyoverse.com%2F" "${PW_AUTOINSTALL_EXE}" no_mirror
|
||||
then
|
||||
pw_start_progress_bar_block "Installing HoYoPlay Launcher."
|
||||
pw_kill_autostart HYP.exe &
|
||||
|
Loading…
Reference in New Issue
Block a user