Scripts version 2273
This commit is contained in:
22
data_from_portwine/scripts/pw_autoinstall/PW_CATSLAUNCHER
Executable file
22
data_from_portwine/scripts/pw_autoinstall/PW_CATSLAUNCHER
Executable file
@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: Castro-Fidel (linux-gaming.ru)
|
||||
########################################################################
|
||||
export LAUNCH_PARAMETERS=("/q" )
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/CatsLauncher.msi"
|
||||
export PW_PREFIX_NAME=DOTNET
|
||||
export PW_USE_D3D_EXTRAS=1
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="CatsLauncher"
|
||||
|
||||
start_portwine
|
||||
if try_download_no_mirror "https://catswhoplay.com/downloads/CatsLauncher_0.1.10.msi" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "${loc_gui_installing_the} CatsLauncher. ${loc_gui_please_wait} "
|
||||
pw_run msiexec /i "${PW_AUTOINSTALL_EXE}"
|
||||
portwine_exe="${WINEPREFIX}/drive_c/Program Files/CatsWhoPlay/Cats Launcher/CatsLauncher.exe"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
try_remove_file "${portwine_exe}.ppdb"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
@ -11,7 +11,7 @@ try_remove_file "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/.wine_ver"
|
||||
start_portwine
|
||||
if try_download_no_mirror "https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Installing Epic Games Launcher. ${loc_gui_please_wait} "
|
||||
pw_start_progress_bar_block "${loc_gui_installing_the} Epic Games Launcher. ${loc_gui_please_wait} "
|
||||
# try_remove_dir "${WINEPREFIX}/drive_c/Program Files (x86)/Epic Games/Epic Online Services/"
|
||||
# try_remove_dir "${WINEPREFIX}/drive_c/Program Files (x86)/Epic Games/Launcher/"
|
||||
# try_remove_dir "${WINEPREFIX}/drive_c/ProgramData/Epic"
|
||||
|
Reference in New Issue
Block a user