Scripts version 2134

This commit is contained in:
castro-fidel
2022-10-09 18:52:00 +03:00
parent 6620fa6582
commit dbdc0d5a77
11 changed files with 77 additions and 34 deletions

View File

@ -1,19 +0,0 @@
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
########################################################################
export LAUNCH_PARAMETERS=("")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/MyGamesLoader.exe"
start_portwine
if try_download "static.gc.my.games/MyGamesLoader.exe" "${PW_AUTOINSTALL_EXE}"
then
pw_start_progress_bar_block "Installing the My.Games. Please wait..."
pw_kill_autostart GameCenter.exe &
pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/GameCenter/GameCenter.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}"
kill_portwine
pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="MY.GAMES"
portwine_create_shortcut
fi
stop_portwine

View File

@ -0,0 +1,18 @@
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
########################################################################
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=""
start_portwine
if try_download "static.gc.my.games/VKPlayLoader.exe" "${PW_AUTOINSTALL_EXE}"
then
portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/VKPlayLoader.exe"
pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="vkPlay"
portwine_create_shortcut
fi
stop_portwine