phoenixbyrd

Runescape

Jun 14th, 2019
375
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. #!/bin/bash
  2. #sudo apt-get install dialog
  3. #sudo apt-get update | dialog --title "Updating Package database" --infobox "\nPlease wait\n" 5 50
  4.  
  5. #sudo apt-get -y install oracle-java8-jdk | dialog --title "Installing Java 8 JDK" --infobox #"\nThis might take a while, please wait\n" 5 50
  6.  
  7. dialog --title "Creating Folders" --infobox "\nPlease wait\n" 5 50
  8.  
  9. mkdir ~/.jagex_cache_32
  10. mkdir ~/.jagex_cache_32/runescape
  11. mkdir ~/.jagex
  12. mkdir ~/.jagex/runescape
  13. mkdir ~/.jagex/runescape/bin
  14. mkdir ~/.jagex/runescape/images
  15.  
  16. dialog --title "Downloading & Installing Client" --infobox "\nPlease wait\n" 5 50
  17. cd ~/.jagex/runescape/bin || exit
  18. wget https://github.com/MrHDR/RaspberryPi/raw/master/Rsinstall/jagexappletviewer.jar
  19. cd ~/.jagex/runescape/images || exit
  20. wget https://raw.githubusercontent.com/MrHDR/RaspberryPi/master/Rsinstall/jagexappletviewer.png
  21. wget https://raw.githubusercontent.com/MrHDR/RaspberryPi/master/Rsinstall/jagexappletvieweros.png
  22. cd ~/Desktop || exit
  23. #wget https://github.com/MrHDR/RaspberryPi/raw/master/Rsinstall/Rs3.desktop
  24. #wget https://github.com/MrHDR/RaspberryPi/raw/master/Rsinstall/OSRS.desktop
  25.  
  26. dialog --title "Runescape Installed" --msgbox "\nYou can launch the game from the destkop\n" 10 30
  27. exit
Advertisement
Add Comment
Please, Sign In to add comment