fix: add modified discord_rpc.sh for LoL with sulaunchhelper2.sh
chore: update readme about discord_rpc.sh
This commit is contained in:
16
games/LoL/linux/discord_rpc.sh
Executable file
16
games/LoL/linux/discord_rpc.sh
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
# Launch winediscordipcbridge.exe automatically.
|
||||
|
||||
# debug wine version and prefix"
|
||||
echo "wine: $WINE"
|
||||
echo "prefix: $WINEPREFIX"
|
||||
|
||||
echo "Waiting for LeagueClientUx.exe to start..."
|
||||
until _=$(pidof LeagueClientUx.exe)
|
||||
do
|
||||
sleep 1
|
||||
done
|
||||
|
||||
echo "Launching bridge..."
|
||||
$WINE ./winediscordipcbridge.exe
|
||||
echo "Bridge closed."
|
||||
Reference in New Issue
Block a user