Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash -x
- #Cheats for popular Linux games
- #Warning! This may overwite your previous game saves, back them up or rename them first.
- cheat=$(zenity --list \
- --title="Linux Game Cheats" \
- --text="Select a cheat:" \
- --checklist \
- --column "" --column="Cheat" \
- FALSE "Epiphany" \
- FALSE "Supertux" \
- FALSE "Supertux2" \
- FALSE "Supertuxkart" \
- FALSE "Secret Maryo Chronicles")
- #Supertuxkart Cheat
- if [[ "$cheat" =~ "Supertuxkart" ]]; then mkdir ~/.config/supertuxkart; cp -R ./cheats/supertuxkart/* ~/.config/supertuxkart; exit; fi
- #Supertux 2 Cheat
- if [[ "$cheat" =~ "Supertux2" ]]; then mkdir ~/.supertux2; cp -R ./cheats/supertux2/* ~/.supertux2; exit; fi
- #Secret Maryo Chronicles Cheat
- if [[ "$cheat" =~ "Secret Maryo Chronicles" ]]; then mkdir ~/.smc; cp -R ./cheats/smc/* ~/.smc; exit; fi
- #Supertux Cheat
- if [[ "$cheat" =~ "Supertux" ]]; then mkdir ~/.supertux; cp -R ./cheats/supertux/* ~/.supertux/; exit; fi
- #Epiphany Cheat
- if [[ "$cheat" =~ "Epiphany" ]]; then cp -R ./cheats/epiphany/.* ~/; exit; fi
Advertisement
Add Comment
Please, Sign In to add comment