forked from CastroFidel/PortWINE
		
	fix auto close HYP.exe after installing
This commit is contained in:
		| @@ -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" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user