forked from CastroFidel/PortWINE
Scripts version 2190
This commit is contained in:
@ -13,7 +13,7 @@ export TEXT_OPSSL=""
|
||||
export PW_COMMENT_DB="${TEXT_OPSSL}Dwnload and start League of Legends can take a long time"
|
||||
export WINEDLLOVERRIDES="mscoree,mshtml="
|
||||
export LAUNCH_PARAMETERS="--launch-product=league_of_legends --launch-patchline=live" # Additional launch options
|
||||
export PW_WINE_USE=WINE_LOL_GE_7.0-5
|
||||
export PW_WINE_USE=WINE_LOL_GE_7.0-8
|
||||
export PW_VULKAN_USE=1
|
||||
export PW_MUST_HAVE_DLL=""
|
||||
export PW_PREFIX_NAME="LEAGUE_OF_LEGENDS"
|
||||
@ -24,22 +24,7 @@ export PW_USE_D3D_EXTRAS=1
|
||||
export DXVK_STABLE_VER="1.10.3-28"
|
||||
##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
|
||||
|
||||
check_download_wine_ver_for_lol () {
|
||||
if [ ! -d "${PORT_WINE_PATH}/data/dist/${PW_WINE_USE}" ] ; then
|
||||
if try_download "github.com/Castro-Fidel/wine_builds/releases/download/${PW_WINE_USE}/${PW_WINE_USE}.tar.xz" \
|
||||
"${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz" ; then
|
||||
if unpack_tar_xz "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz" "${PORT_WINE_PATH}/data/dist/" ; then
|
||||
try_remove_file "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz"
|
||||
UNPACK_STATUS=0
|
||||
else
|
||||
try_remove_file "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz"
|
||||
try_remove_dir "${PORT_WINE_PATH}/data/dist/${PW_WINE_USE}"
|
||||
fi
|
||||
fi
|
||||
[[ "${UNPACK_STATUS}" != 0 ]] && exit 1
|
||||
fi
|
||||
}
|
||||
check_download_wine_ver_for_lol
|
||||
gui_proton_downloader silent "${PW_WINE_USE}"
|
||||
|
||||
add_in_start_portwine () {
|
||||
echo ""
|
||||
|
Reference in New Issue
Block a user