VHSgunzo commited on
Commit
319ff8e
·
1 Parent(s): 817bcb3

Update DB script for LOL

Browse files
Files changed (2) hide show
  1. db/LeagueClient.lwdb +26 -1
  2. main.zip +2 -2
db/LeagueClient.lwdb CHANGED
@@ -6,6 +6,31 @@ WINE_THEME=Disabled
6
  WPREFIX_NAME=lolpfx
7
  USE_DEFPFX_BACKUP=1
8
  MUST_HAVE_DLL=Disabled
9
- WINE_VERSION=wine-lutris-ge-lol-8.7-1-x86_64
10
  [ "$EXE_NAME" == "RiotClientServices" ] && \
11
  EXE_ARG='--launch-product=league_of_legends --launch-patchline=live'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  WPREFIX_NAME=lolpfx
7
  USE_DEFPFX_BACKUP=1
8
  MUST_HAVE_DLL=Disabled
9
+ WINE_VERSION=wine-lutris-ge-lol-p8-12-x86_64
10
  [ "$EXE_NAME" == "RiotClientServices" ] && \
11
  EXE_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
main.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:871084a760b46119b44ddeb8d3031ee15b1fa3002ef515cf40bfe9821c58e5ba
3
- size 571071
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dcb9fb427641d6aa65afebb68e38fed7700a1ef0bf59af73ddc682f988b794a8
3
+ size 571386