forked from M-Reimer/leagueoflegends-linux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuninstall.sh
executable file
·34 lines (28 loc) · 1.43 KB
/
uninstall.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/bash
echo "*************************************************"
echo "The next few steps will remove all shortcuts and league of legends files."
echo "*************************************************"
echo "*************************************************"
echo "Removing $HOME/bin/leagueoflegends"
echo "*************************************************"
rm $HOME/bin/leagueoflegends
echo "*************************************************"
echo "Removing $HOME/bin/lol-launchhelper"
echo "*************************************************"
rm $HOME/bin/lol-launchhelper
echo "*************************************************"
echo "Removing $HOME/.local/share/applications/leagueoflegends.desktop"
echo "*************************************************"
rm $HOME/.local/share/applications/leagueoflegends.desktop
echo "*************************************************"
echo "Removing $HOME/Desktop/leagueoflegends.desktop"
echo "*************************************************"
DESKTOP_PATH=$(xdg-user-dir DESKTOP 2>/dev/null || echo "$HOME/Desktop")
rm "$DESKTOP_PATH/leagueoflegends.desktop"
echo "*************************************************"
echo "Removing $HOME/.wineprefix/LoL"
echo "*************************************************"
rm -r $HOME/.wineprefix/LoL
echo "*************************************************"
echo "League of Legends has been successfully removed."
echo "*************************************************"