This commit is contained in:
Mikhail Tergoev
2023-12-17 16:36:30 +03:00
parent dcb5620403
commit 387c2c175a
2 changed files with 8 additions and 6 deletions

View File

@ -6,10 +6,11 @@ export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/live.na.exe"
export LAUNCH_PARAMETERS="--launch-product=league_of_legends --launch-patchline=live"
export PW_MUST_HAVE_DLL=""
export PW_VULKAN_USE=1
export PW_WINE_USE=WINE_LOL_GE_8.12
export WINEDLLOVERRIDES="mscoree,mshtml="
export PW_WINE_USE=WINE_LOL_GE_8.27
# export WINEDLLOVERRIDES="mscoree,mshtml="
export PW_USE_D3D_EXTRAS=1
export DISABLE_CP_DEFPFX=1
export GST_GL_WINDOW=x11
gui_proton_downloader silent "${PW_WINE_USE}"
@ -23,6 +24,7 @@ then
if [ "${update_loc}" = "ENG" ] ; then
zenity --info --width=500 --text "You must click the install button without changing the settings!"
fi
rm -f "$WINEPREFIX"/*.reg &>/dev/null
pw_kill_autostart RiotClientServices.exe &
pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Riot Games/Riot Client/RiotClientServices.exe"