- #!/bin/bash
- export WINEPREFIX=$HOME/LoL_wine-1.5.11/LoL_Prefix #wineprefix location
- WINEXE=$HOME/LoL_wine-1.5.11/bin/wine #location of wine executable
- cd $WINEPREFIX/drive_c/Riot\ Games/League\ of\ Legends/RADS/system/
- $WINEXE "rads_user_kernel.exe" run lol_launcher $(ls ../projects/lol_launcher/releases/) LoLLauncher.exe &
- loltask_instance=$(ps -A | grep loltask)
- if [ ! "$loltask_instance" ]; then
- # change kdesu to gksu if u don't use KDE
- gksu loltask &
- else
- echo "loltask is already started. You do not want it to be started again."
- fi
SHARE
TWEET
Untitled
a guest
Aug 26th, 2012
20
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data

