minimum sort for autoinstall
This commit is contained in:
parent
fc20dc69f9
commit
6fa9d07860
28
data_from_portwine/scripts/pw_autoinstall/PW_001_LGC
Executable file
28
data_from_portwine/scripts/pw_autoinstall/PW_001_LGC
Executable file
@ -0,0 +1,28 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# Author: chal55rus
|
||||||
|
# type: games
|
||||||
|
# name: Lesta Game Center
|
||||||
|
# image: lgc
|
||||||
|
# info_en:
|
||||||
|
# info_ru:
|
||||||
|
########################################################################
|
||||||
|
export LAUNCH_PARAMETERS=("/VERYSILENT")
|
||||||
|
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Lesta_Game_Center_Install_RU.exe"
|
||||||
|
export PW_PREFIX_NAME="LGC"
|
||||||
|
|
||||||
|
start_portwine
|
||||||
|
|
||||||
|
if try_download "https://redirect.lesta.ru/LGC/Lesta_Game_Center_Install_RU.exe" "${PW_AUTOINSTALL_EXE}" no_mirror
|
||||||
|
then
|
||||||
|
pw_start_progress_bar_install_game "Lesta Game Center"
|
||||||
|
pw_kill_autostart lgc.exe &
|
||||||
|
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||||
|
portwine_exe="$WINEPREFIX/drive_c/ProgramData/Lesta/GameCenter/api/lgc_api.exe"
|
||||||
|
export PORTWINE_CREATE_SHORTCUT_NAME="Lesta Game Center"
|
||||||
|
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||||
|
try_remove_file "${portwine_exe}.ppdb"
|
||||||
|
kill_portwine
|
||||||
|
portwine_create_shortcut
|
||||||
|
fi
|
||||||
|
|
||||||
|
stop_portwine
|
25
data_from_portwine/scripts/pw_autoinstall/PW_002_VKPLAY
Executable file
25
data_from_portwine/scripts/pw_autoinstall/PW_002_VKPLAY
Executable file
@ -0,0 +1,25 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# Author: chal55rus (Sergey P.)
|
||||||
|
# type: games
|
||||||
|
# name: vkPlay Games Center
|
||||||
|
# image: mygames
|
||||||
|
# info_en:
|
||||||
|
# info_ru:
|
||||||
|
########################################################################
|
||||||
|
export LAUNCH_PARAMETERS=("")
|
||||||
|
export PW_PREFIX_NAME="VK_PLAY"
|
||||||
|
export PW_AUTOINSTALL_EXE="${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/steamuser/AppData/Local/VKPlayLoader.exe"
|
||||||
|
export WINEDLLOVERRIDES="mscoree,mshtml="
|
||||||
|
export PW_MUST_HAVE_DLL=""
|
||||||
|
export PW_WINE_USE="WINE_LG"
|
||||||
|
|
||||||
|
start_portwine
|
||||||
|
if try_download "https://static.gc.my.games/VKPlayLoader.exe" "${PW_AUTOINSTALL_EXE}" no_mirror
|
||||||
|
then
|
||||||
|
portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/VKPlayLoader.exe"
|
||||||
|
try_remove_file "${portwine_exe}.ppdb"
|
||||||
|
pw_stop_progress_bar
|
||||||
|
export PORTWINE_CREATE_SHORTCUT_NAME="vkPlay"
|
||||||
|
portwine_create_shortcut
|
||||||
|
fi
|
||||||
|
stop_portwine
|
31
data_from_portwine/scripts/pw_autoinstall/PW_003_EPIC
Executable file
31
data_from_portwine/scripts/pw_autoinstall/PW_003_EPIC
Executable file
@ -0,0 +1,31 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# Author: Castro-Fidel (linux-gaming.ru)
|
||||||
|
# type: games
|
||||||
|
# name: Epic Games Launcher
|
||||||
|
# image: epicgames
|
||||||
|
# info_en:
|
||||||
|
# info_ru:
|
||||||
|
########################################################################
|
||||||
|
export LAUNCH_PARAMETERS=("/q" )
|
||||||
|
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/EpicGamesLauncherInstaller.msi"
|
||||||
|
export PW_USE_D3D_EXTRAS=1
|
||||||
|
export PORTWINE_CREATE_SHORTCUT_NAME="Epic Games Launcher"
|
||||||
|
# sed -i '/Epic Games/d' "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}"/*.reg >/dev/null
|
||||||
|
try_remove_file "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/.wine_ver"
|
||||||
|
|
||||||
|
start_portwine
|
||||||
|
if try_download "https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi" "${PW_AUTOINSTALL_EXE}" no_mirror
|
||||||
|
then
|
||||||
|
pw_start_progress_bar_install_game "Epic Games Launcher."
|
||||||
|
# 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"
|
||||||
|
pw_run msiexec /i "${PW_AUTOINSTALL_EXE}"
|
||||||
|
portwine_exe="${WINEPREFIX}/drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.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
|
27
data_from_portwine/scripts/pw_autoinstall/PW_004_BATTLE_NET
Executable file
27
data_from_portwine/scripts/pw_autoinstall/PW_004_BATTLE_NET
Executable file
@ -0,0 +1,27 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# Author: Castro-Fidel (linux-gaming.ru)
|
||||||
|
# type: games
|
||||||
|
# name: Battle.net Launcher
|
||||||
|
# image: battle_net
|
||||||
|
# info_en:
|
||||||
|
# info_ru:
|
||||||
|
########################################################################
|
||||||
|
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Battle.net-Setup.exe"
|
||||||
|
export PW_WINE_USE="WINE_LG"
|
||||||
|
export WINEDLLOVERRIDES="locationapi="
|
||||||
|
export PW_PREFIX_NAME="BATTLE_NET"
|
||||||
|
|
||||||
|
start_portwine
|
||||||
|
if try_download "https://battle.net/download/getInstallerForGame?os=win&version=LIVE&gameProgram=BATTLENET_APP" "${PW_AUTOINSTALL_EXE}" no_mirror
|
||||||
|
then
|
||||||
|
try_remove_dir "$WINEPREFIX/drive_c/ProgramData/Battle.net"
|
||||||
|
pw_kill_autostart Battle.net.exe &
|
||||||
|
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||||
|
pw_start_progress_bar_install_game "Battle Net."
|
||||||
|
portwine_exe="$(find "$WINEPREFIX/drive_c/" -type f -name "Battle.net.exe" | grep "Battle.net/Battle.net.exe")"
|
||||||
|
pw_stop_progress_bar
|
||||||
|
portwine_create_shortcut
|
||||||
|
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||||
|
try_remove_file "${portwine_exe}.ppdb"
|
||||||
|
fi
|
||||||
|
stop_portwine
|
Loading…
Reference in New Issue
Block a user