Commit 9203a72e authored by Mikhail Tergoev's avatar Mikhail Tergoev

fix auto close HYP.exe after installing

parent f3819039
......@@ -2,6 +2,8 @@
-----------------------------------------
История изменений:
fix disable CAS
###Scripts version 2313### Дата: 11.07.2024 / Размер скачиваемого обновления: 4 мегабайта
* добавлены все настройки gamescope в интерфейс PortProton (огромное спасибо Htylol)
* добавлена экспериментальная возможность запуска нативной версии wine-wayland с сторонней версией wine, которая скомпилирована с данной функцией (спасибо Boria138)
......
......@@ -858,7 +858,7 @@ export -f kill_portwine
pw_kill_autostart () {
if [[ -z "${2}" ]]
then SWAIT=5
then SWAIT=3
else SWAIT="${2}"
fi
sleep 5
......
......@@ -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"
......
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