fix auto close HYP.exe after installing

This commit is contained in:
Mikhail Tergoev
2024-07-11 19:53:45 +03:00
parent f3819039ed
commit 9203a72ef4
3 changed files with 4 additions and 2 deletions

View File

@ -11,7 +11,7 @@ start_portwine
if try_download "https://ys-api-os.mihoyo.com/event/download_porter/link/ys_global/genshinimpactpc/default" "${PW_AUTOINSTALL_EXE}" no_mirror
then
pw_start_progress_bar_block "Installing HoYoPlay Launcher."
pw_kill_autostart launcher.exe &
pw_kill_autostart HYP.exe &
export PATH_TO_GAME="${PW_USER_TEMP}"
pw_run "${PW_AUTOINSTALL_EXE}"
export portwine_exe="$WINEPREFIX/drive_c/Program Files/HoYoPlay/launcher.exe"