###Scripts version 2049###

This commit is contained in:
castro-fidel
2021-11-16 23:09:37 +03:00
parent e1bca02c56
commit 2125dce36b
38 changed files with 234 additions and 232 deletions

View File

@ -4,10 +4,10 @@
export LAUNCH_PARAMETERS=("/q" )
export PW_AUTOINSTALL_EXE="${WINEPREFIX}/drive_c/live.na.exe"
export LAUNCH_PARAMETERS=("--launch-product=league_of_legends" "--launch-patchline=live")
export VERSION_WINE_FOR_LOL="WINE_LOL_GE_6.16-2"
export VERSION_WINE_FOR_LOL="WINE_LOL_GE_6.16-3"
export PW_MUST_HAVE_DLL=""
if [ ! -d "${PORT_WINE_PATH}/data/dist/${VERSION_WINE_FOR_LOL}" ] ; then
if try_download "https://github.com/Castro-Fidel/wine_builds/releases/download/WINE_LOL_GE_6.16-2/${VERSION_WINE_FOR_LOL}.tar.xz" \
if try_download "https://github.com/Castro-Fidel/wine_builds/releases/download/${VERSION_WINE_FOR_LOL}/${VERSION_WINE_FOR_LOL}.tar.xz" \
"${PORT_WINE_PATH}/data/tmp/${VERSION_WINE_FOR_LOL}.tar.xz" ; then
if unpack_tar_xz "${PORT_WINE_PATH}/data/tmp/${VERSION_WINE_FOR_LOL}.tar.xz" "${PORT_WINE_PATH}/data/dist/" ; then
try_remove_file "${PORT_WINE_PATH}/data/tmp/${VERSION_WINE_FOR_LOL}.tar.xz"
@ -19,8 +19,8 @@ if [ ! -d "${PORT_WINE_PATH}/data/dist/${VERSION_WINE_FOR_LOL}" ] ; then
fi
[[ "${UNPACK_STATUS}" != 0 ]] && exit 1
fi
export PW_WINE_USE=WINE_LOL_GE_6.16-2
export PW_VULKAN_USE=dxvk
export PW_WINE_USE=WINE_LOL_GE_6.16-3
export PW_VULKAN_USE=1
start_portwine
if try_download "https://lol.secure.dyn.riotcdn.net/channels/public/x/installer/current/live.na.exe" "${PW_AUTOINSTALL_EXE}"
then