fixed borders for HYP and Crossover
This commit is contained in:
parent
1f8f1bc918
commit
8752a56cbb
@ -15,10 +15,10 @@ start_portwine
|
|||||||
if try_download "https://yupmaster.gaijinent.com/launcher/current.php?id=CrossoutLauncher" "${PW_AUTOINSTALL_EXE}" no_mirror
|
if try_download "https://yupmaster.gaijinent.com/launcher/current.php?id=CrossoutLauncher" "${PW_AUTOINSTALL_EXE}" no_mirror
|
||||||
then
|
then
|
||||||
pw_start_progress_bar_install_game "Crossout."
|
pw_start_progress_bar_install_game "Crossout."
|
||||||
|
get_and_set_reg_file --add 'Software\Wine\X11 Driver' 'Decorated' 'REG_SZ' "N" "user"
|
||||||
pw_kill_autostart launcher.exe 3 &
|
pw_kill_autostart launcher.exe 3 &
|
||||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||||
portwine_exe="${WINEPREFIX}/drive_c/users/$USER/AppData/Local/Crossout/launcher.exe"
|
portwine_exe="${WINEPREFIX}/drive_c/users/$USER/AppData/Local/Crossout/launcher.exe"
|
||||||
get_and_set_reg_file --add 'Software\Wine\X11' 'Decorated' 'REG_SZ' "N" "user"
|
|
||||||
pw_create_unique_exe "crossout_launcher_pp"
|
pw_create_unique_exe "crossout_launcher_pp"
|
||||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||||
try_remove_file "${portwine_exe}.ppdb"
|
try_remove_file "${portwine_exe}.ppdb"
|
||||||
|
@ -16,11 +16,11 @@ start_portwine
|
|||||||
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
|
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
|
then
|
||||||
pw_start_progress_bar_install_game "HoYoPlay Launcher."
|
pw_start_progress_bar_install_game "HoYoPlay Launcher."
|
||||||
|
get_and_set_reg_file --add 'Software\Wine\X11 Driver' 'Decorated' 'REG_SZ' "N" "user"
|
||||||
pw_kill_autostart HYP.exe &
|
pw_kill_autostart HYP.exe &
|
||||||
export PATH_TO_GAME="${PW_USER_TEMP}"
|
export PATH_TO_GAME="${PW_USER_TEMP}"
|
||||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||||
export portwine_exe="$WINEPREFIX/drive_c/Program Files/HoYoPlay/launcher.exe"
|
export portwine_exe="$WINEPREFIX/drive_c/Program Files/HoYoPlay/launcher.exe"
|
||||||
get_and_set_reg_file --add 'Software\Wine\X11' 'Decorated' 'REG_SZ' "N" "user"
|
|
||||||
pw_create_unique_exe "hoyoplay_launcher_pp"
|
pw_create_unique_exe "hoyoplay_launcher_pp"
|
||||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||||
try_remove_file "${portwine_exe}.ppdb"
|
try_remove_file "${portwine_exe}.ppdb"
|
||||||
|
Loading…
Reference in New Issue
Block a user