SHOW:
|
|
- or go back to the newest paste.
1 | #!/bin/bash | |
2 | # A quick and easy script to update all your libretro cores in Lakka | |
3 | # Created by Claes-Göran Nydahl - 16/Aug/2019 | |
4 | # Version 2 | |
5 | clear | |
6 | echo "Downloading, unpacking and transferring the latest cores to Lakka" | |
7 | mkdir lakkacores | |
8 | cd lakkacores | |
9 | # Downloading all the cores from latest nightly | |
10 | wget -A zip -r -nd -np https://buildbot.libretro.com/nightly/linux/armhf/latest/ | |
11 | # Getting the info-files | |
12 | wget https://buildbot.libretro.com/assets/frontend/info.zip | |
13 | # Unzipping | |
14 | unzip '*.zip' | |
15 | # Connecting to your Rpi with SSH and uploading them to the Cores folder | |
16 | # You will be prompted for your password | |
17 | scp -r *.so *.info [email protected]:cores | |
18 | # Removing the files from your computer | |
19 | cd ../ | |
20 | rm -r -f lakkacores | |
21 | echo "Done!" |