forked from assuiedmilan/retromoonlight
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Install.sh
54 lines (52 loc) · 1.56 KB
/
Install.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/bin/bash
echo -e "\n****************************************************************"
echo -e "Welcome to the Moonlight Installer Script for RetroPie"
echo -e "****************************************************************\n"
echo -e "Select an option:"
echo -e " * 1: Complete Install and Setup"
echo -e " * 2: Install Moonlight"
echo -e " * 3: Pair Moonlight to PC"
echo -e " * 4: Install Moonlight Menu in RetroPie"
echo -e " * 5: Install Moonlight Refresh Script in RetroPie"
echo -e " * 6: Install Moonlight themes"
echo -e " * 7: Remove Launch Scripts"
echo -e " * 8: Exit"
read NUM
case $NUM in
1)
sudo bash ./Scripts/Install_moonlight.sh
sudo bash ./Scripts/Pair_moonlight.sh
sudo bash ./Scripts/Install_moonlight_menu.sh
sudo bash ./Scripts/Install_Scripts.sh
sudo bash ./Scripts/Install_themes.sh
;;
2)
sudo bash ./Scripts/Install_moonlight.sh
sudo bash ./Install.sh
;;
3)
sudo bash ./Scripts/Pair_moonlight.sh
sudo bash ./Install.sh
;;
4)
sudo bash ./Scripts/Install_moonlight_menu.sh
sudo bash ./Install.sh
;;
5)
sudo bash ./Scripts/Install_Scripts.sh
sudo bash ./Install.sh
;;
6)
sudo bash ./Scripts/Install_themes.sh
sudo bash ./Install.sh
;;
7)
echo -e "\nRemoving all Moonlight launch scripts..."
rm -rf /home/pi/RetroPie/roms/moonlight
sudo bash ./Install.sh
;;
8)
exit 1
;;
*) echo "INVALID NUMBER!" ;;
esac