forked from CastroFidel/PortWINE
Merge branch 'update_autoinstall_vkplay' of github.com:jeuiuwiw/PortWINE into jeuiuwiw-update_autoinstall_vkplay
This commit is contained in:
@@ -1,24 +1,26 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Author: chal55rus (Sergey P.)
|
# Author: chal55rus (Sergey P.)
|
||||||
# type: games
|
# type: games
|
||||||
# name: vkPlay Games Center
|
# name: VK Play Games Center
|
||||||
# image: mygames
|
# image: mygames
|
||||||
# info_en: Launcher for the VK Play game library.
|
# info_en: Launcher for the VK Play game library.
|
||||||
# info_ru: Лаунчер для библиотеки игр VK Play.
|
# info_ru: Лаунчер для библиотеки игр VK Play.
|
||||||
########################################################################
|
########################################################################
|
||||||
export PW_PREFIX_NAME="VK_PLAY"
|
export PW_PREFIX_NAME="VK_PLAY"
|
||||||
|
# export LAUNCH_PARAMETERS=""
|
||||||
export PW_AUTOINSTALL_EXE="${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/steamuser/AppData/Local/VKPlayLoader.exe"
|
export PW_AUTOINSTALL_EXE="${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/users/steamuser/AppData/Local/VKPlayLoader.exe"
|
||||||
|
export PORTWINE_CREATE_SHORTCUT_NAME="VK Play"
|
||||||
|
|
||||||
export WINEDLLOVERRIDES="mscoree,mshtml="
|
export WINEDLLOVERRIDES="mscoree,mshtml="
|
||||||
export PW_MUST_HAVE_DLL=""
|
export PW_MUST_HAVE_DLL=""
|
||||||
export PW_WINE_USE="WINE_LG"
|
export PW_WINE_USE="WINE_LG"
|
||||||
|
|
||||||
start_portwine
|
start_portwine
|
||||||
if try_download "https://static.gc.my.games/VKPlayLoader.exe" "${PW_AUTOINSTALL_EXE}" no_mirror
|
if try_download "https://static.gc.vkplay.ru/VKPlayLoader.exe" "${PW_AUTOINSTALL_EXE}" no_mirror
|
||||||
then
|
then
|
||||||
portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/VKPlayLoader.exe"
|
portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/VKPlayLoader.exe"
|
||||||
try_remove_file "${portwine_exe}.ppdb"
|
try_remove_file "${portwine_exe}.ppdb"
|
||||||
pw_stop_progress_bar
|
pw_stop_progress_bar
|
||||||
export PORTWINE_CREATE_SHORTCUT_NAME="vkPlay"
|
|
||||||
portwine_create_shortcut
|
portwine_create_shortcut
|
||||||
fi
|
fi
|
||||||
stop_portwine
|
stop_portwine
|
||||||
|
Reference in New Issue
Block a user