Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo "+--------------------------------+"
- echo "| |"
- echo "| Backing Up Current Cheevo List |"
- echo "| |"
- echo "+--------------------------------+"
- mv /opt/retropie/configs/all/emulationstation/collections/custom-achievements.cfg /opt/retropie/configs/all/emulationstation/collections/custom-achievements-$(date +%F-%H:%M).old
- echo "Done!"
- echo "+--------------------------------+"
- echo "| |"
- echo "| Updating hascheevos Program |"
- echo "| |"
- echo "+--------------------------------+"
- cd /home/pi/hascheevos/bin
- ./hascheevos.sh --update
- echo "Done!"
- echo "+--------------------------------+"
- echo "| |"
- echo "| Beginning hascheevos Hash Scan |"
- echo "| |"
- echo "+--------------------------------+"
- ./hascheevos.sh --single-collection --system all
- mv /opt/retropie/configs/all/emulationstation/collections/custom-achievements.cfg /opt/retropie/configs/all/emulationstation/collections/work.cfg
- ./hascheevos.sh --arcade --system fba --collection
- cd /opt/retropie/configs/all/emulationstation/collections
- cat work.cfg "custom-achievements fba.cfg" | sort > custom-achievements.cfg
- rm work.cfg
- rm "custom-achievements fba.cfg"
- echo "+--------------------------------+"
- echo "| |"
- echo "| Completed Scanning for Games! |"
- echo "| |"
- echo "+--------------------------------|"
- echo "Do you wish to reboot now?"
- select yn in "Yes" "No"; do
- case $yn in
- Yes ) sudo reboot; break;;
- No ) exit;;
- esac
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement