-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
29 lines (28 loc) · 1.56 KB
/
setup.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
#!/bin/bash
sudo apt-get install -y python-wxgtk3.0
sudo apt-get install -y matchbox-keyboard
git clone https://github.com/ropellanda/joymap-minimal /home/pi/joymap-minimal
sudo cp /home/pi/joymap-minimal/autostart.sh /opt/retropie/configs/all/autostart.sh
sudo cp -R /home/pi/joymap-minimal/NewTouchBoot/ /opt/retropie/configs/all/NewTouchBoot
sudo cp -R /home/pi/joymap-minimal/joymap/ /home/pi/joymap
sudo chmod 777 /home/pi/RetroPie/splashscreens/SwitchBerry.jpg
sudo chmod 777 /etc/splashscreen.list
sudo chmod 777 /boot/cmdline.txt
sudo chmod a+x /boot/cmdline.txt
sudo chmod 777 /home/pi/joymap/* && sudo chmod a+x /home/pi/joymap/*
sudo chmod 777 /opt/retropie/configs/all/NewTouchBoot/checknum
sudo chmod 777 /opt/retropie/configs/all/NewTouchBoot/retro.jpg
sudo chmod 777 /opt/retropie/configs/all/NewTouchBoot/kodi.jpg
sudo chmod 777 /opt/retropie/configs/all/NewTouchBoot/terminal.png
sudo chmod 777 /opt/retropie/configs/all/NewTouchBoot/Debian.jpg
sudo chmod 777 /opt/retropie/configs/all/NewTouchBoot/left.jpg
sudo chmod 777 /opt/retropie/configs/all/NewTouchBoot/right.jpg
sudo chmod 777 /opt/retropie/configs/all/NewTouchBoot/check.png
sudo chmod 777 /opt/retropie/configs/all/NewTouchBoot/logfile.txt
sudo chmod 777 /opt/retropie/configs/all/NewTouchBoot/starter.sh
sudo chmod a+x /opt/retropie/configs/all/NewTouchBoot/starter.sh
sudo chmod 777 /opt/retropie/configs/all/NewTouchBoot/pywx.py
sudo chmod a+x /opt/retropie/configs/all/NewTouchBoot/pywx.py
sudo chmod 777 /opt/retropie/configs/all/autostart.sh
sudo chmod a+x /opt/retropie/configs/all/autostart.sh
sudo reboot