Advertisement
Guest User

Infinite Loop

a guest
Oct 13th, 2015
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.53 KB | None | 0 0
  1. #!/bin    /bash
  2. cd ~/Library/Application\ Support/minecraft
  3. mkdir Modpack
  4. DownloadingModsPath=find ~/ f -name "mods.zip.download"
  5. cd ~/Desktop
  6. open https://raw.githubusercontent.com/rudix-mac/packages/2015/10.10/wget-1.16.3-0.pkg
  7. cd ~/Downloads
  8. sudo installer -pkg wget-1.16.3-0.pkg -target /
  9. wget https://s3.amazonaws.com/Minecraft.Download/launcher/Minecraft.jar
  10. open https://doc-0g-6o-docs.googleusercontent.com/docs/securesc/f7mj2ddmckhkq1pfmfi1ad4ptaagrns8/6u35u23o6l43mqvq2ichnaoeblar4tk7/1444773600000/10201327051421915636/10201327051421915636/0B8QVXTElnfQ-N2J0YUZ2Mi05aGc?e=download
  11.  
  12.     sudo rm -rf ~/Downloads/wget-1.16.3-0.pkg
  13. downloaded=null
  14. downloading=null
  15. Input1true=null
  16. Input2true=null
  17. Input3true=null
  18.  
  19. if [[ -f ~/Downloads/mods.zip.download  ]] ; then
  20.         downloading=true
  21. elif [[ -f ~/Downloads/mods.zip ]] ; then
  22.         Downloading=false
  23.         downloaded=true
  24. else
  25.         downloading=false
  26.         downloaded=false
  27.      echo The file has failed to download
  28.        exit(1)
  29. fi
  30. while [[ downloading ]] ; do
  31.      echo The file is downloading
  32.      echo -n Do not log out of the window
  33.      if [[ -f ~/Downloads/mods ]] || [[ -f ~/Downloads/mods.zip ]]; then
  34.            downloaded=true
  35.            downloading=false
  36.      fi
  37.      echo -d ~/Downloads/mods
  38.      echo -f ~/Downloads/mods.zip
  39. done
  40.  
  41. unzip ~/Downloads/mods.zip
  42. mv ~/Downloads/mods ~/Library/Application\ Support/minecraft/Modpack
  43. Java -jar Minecraft.jar
  44. say Hello, I am your personal assistant. To install the Modpack, please create a new profile. When you are done type 'DONE' in the terminal.
  45. echo Hello, I am your personal assistant. To install the Modpack, please create a new profile. When you are done type 'DONE' in the terminal.
  46. read input1
  47. input1="${input1^^}"
  48. if [[ $input1 = DONE ]] ; then
  49.         input1true=true
  50. fi
  51. while [[ !input1true ]] ; do
  52.         say Please type Done into the terminal to continue.
  53.         Echo please type 'Done' into the terminal to continue.
  54.         read input1
  55.         input1="${input1^^}"
  56.         if [[ $input1=DONE  ]] ; then
  57.                 input1true=true
  58.         else
  59.                 input1true=false
  60.         fi
  61. done
  62.  
  63. say thank you. Now, edit the profile you have just created, and select the version. When the version list comes up scroll all the way to the bottom and select Forge 1.7.10 13.4.1448-1710. When you are done type 'Done' in the terminal.
  64.  
  65. echo -n Thank you. Now, edit the profile you have just created, and select the version. When the version list comes up scroll all the way to the bottom and select Forge '1.7.10-13.4.1448-1710'. When you are done type 'Done' in the terminal.
  66. read input2
  67. input2="${input2^^}"
  68. if [[ $input2="DONE" ]] ; then
  69.         input2true=true
  70. else
  71.         input2true=false
  72. fi
  73. while [[ !input2true ]] ; do
  74.  
  75. say Thank you. Now, edit the profile you have just created, and select the                 version. When the version list comes up scroll all the way to the bottom and select Forge 1.7.10 13.4.1448 1710. When you are done type 'Done' in the terminal.
  76.  
  77. echo Thank you. Now, edit the profile you have just created, and select the.            version. When the version list comes up scroll all the way to the bottom and select 'Forge 1.7.10-13.4.1448-1710'. When you are done type 'Done' in the terminal.
  78.         read input2
  79.         input2="${input2^^}"
  80.         if [[$input2="DONE" ]] ; then
  81.                 input2true=true
  82.         fi
  83. done
  84. say Now, press the check next to the directory, then, add /Modpack to the directory next to the check box.
  85. echo Now, press the check next to the directory, then, add '/Modpack' to the directory next to the check box.
  86. echo Delaying 2 seconds.
  87. Delay 0.5 seconds
  88. echo Delaying 2 seconds..
  89. Delay 0.5 seconds
  90. echo Delaying 2 seconds...
  91. Delay 0.5 seconds
  92. echo Delaying 2 seconds....
  93. Delay 0.5 seconds
  94. say Press 'Save profile' and exit out Minecraft. Then, type 'Continue', in the terminal to continue.
  95. echo Press 'Save profile' and exit out Minecraft. Then, type 'Continue', in the terminal to continue
  96. read input3
  97. input3="${input3^^}"
  98. if [[ $input3=CONTINUE ]] ; then
  99.         input3true=true
  100. else
  101.         input3true=false
  102. fi
  103. while [[ !input3true ]] ; do
  104.  
  105.         say Please type Continue into the terminal to continue
  106.         echo Please type 'Continue' into the terminal to continue.
  107.         read input3
  108.         input3="${input3^^}"
  109.         if [[ $input3=CONTINUE ]] ; then
  110.                 input3true=true
  111.         fi
  112. done
  113.  
  114. say Okay, the Modpack will now finish installing.
  115. echo Okay, the Modpack will now finish installing
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement