File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,31 @@ WINE_THEME=Disabled
66WPREFIX_NAME=lolpfx
77USE_DEFPFX_BACKUP=1
88MUST_HAVE_DLL=Disabled
9- WINE_VERSION=wine-lutris-ge-lol-8.7-1 -x86_64
9+ WINE_VERSION=wine-lutris-ge-lol-p8-12 -x86_64
1010[ "$EXE_NAME" == "RiotClientServices" ] && \
1111EXE_ARG='--launch-product=league_of_legends --launch-patchline=live'
12+
13+ pfxsetupfl="$LW_DEF_WPFXS_DIR/$WPREFIX_NAME/.setup"
14+ if [ ! -f "$pfxsetupfl" ]
15+ then
16+ source "$LW_DB_DIR/setup.lwdb"
17+ pre_launch() {
18+ touch "$pfxsetupfl"
19+ (if [ "$EXE_NAME" == "LeagueClient" ]
20+ then wait_kill_exe LeagueClient.exe unlim
21+ else wait_kill_exe RiotClientServices.exe unlim
22+ fi) &
23+ case "$EXE_NAME" in
24+ RiotClientServices) RIOTCLIENT="$LU_EXE" ;;
25+ LeagueClient) RIOTCLIENT="$(realpath "$EXE_PATH/../Riot Client/RiotClientServices.exe")" ;;
26+ *) RIOTCLIENT="$WINEPREFIX/drive_c/Riot Games/Riot Client/RiotClientServices.exe" ;;
27+ esac
28+ post_launch() {
29+ if [ -f "$RIOTCLIENT" ]
30+ then
31+ NO_YAD=1 try_shutdown_wine
32+ cleanrun "$LW_SOURCE" "$RIOTCLIENT"
33+ fi
34+ }
35+ }
36+ fi
You can’t perform that action at this time.
0 commit comments