Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin /bash
- cd ~/Library/Application\ Support/minecraft
- mkdir Modpack
- DownloadingModsPath=find ~/ f -name "mods.zip.download"
- cd ~/Desktop
- open https://raw.githubusercontent.com/rudix-mac/packages/2015/10.10/wget-1.16.3-0.pkg
- cd ~/Downloads
- sudo installer -pkg wget-1.16.3-0.pkg -target /
- wget https://s3.amazonaws.com/Minecraft.Download/launcher/Minecraft.jar
- open https://doc-0g-6o-docs.googleusercontent.com/docs/securesc/f7mj2ddmckhkq1pfmfi1ad4ptaagrns8/6u35u23o6l43mqvq2ichnaoeblar4tk7/1444773600000/10201327051421915636/10201327051421915636/0B8QVXTElnfQ-N2J0YUZ2Mi05aGc?e=download
- sudo rm -rf ~/Downloads/wget-1.16.3-0.pkg
- downloaded=null
- downloading=null
- Input1true=null
- Input2true=null
- Input3true=null
- if [[ -f ~/Downloads/mods.zip.download ]] ; then
- downloading=true
- elif [[ -f ~/Downloads/mods.zip ]] ; then
- Downloading=false
- downloaded=true
- else
- downloading=false
- downloaded=false
- echo The file has failed to download
- exit(1)
- fi
- while [[ downloading ]] ; do
- echo The file is downloading
- echo -n Do not log out of the window
- if [[ -f ~/Downloads/mods ]] || [[ -f ~/Downloads/mods.zip ]]; then
- downloaded=true
- downloading=false
- fi
- echo -d ~/Downloads/mods
- echo -f ~/Downloads/mods.zip
- done
- unzip ~/Downloads/mods.zip
- mv ~/Downloads/mods ~/Library/Application\ Support/minecraft/Modpack
- Java -jar Minecraft.jar
- 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.
- 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.
- read input1
- input1="${input1^^}"
- if [[ $input1 = DONE ]] ; then
- input1true=true
- fi
- while [[ !input1true ]] ; do
- say Please type Done into the terminal to continue.
- Echo please type 'Done' into the terminal to continue.
- read input1
- input1="${input1^^}"
- if [[ $input1=DONE ]] ; then
- input1true=true
- else
- input1true=false
- fi
- done
- 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.
- 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.
- read input2
- input2="${input2^^}"
- if [[ $input2="DONE" ]] ; then
- input2true=true
- else
- input2true=false
- fi
- while [[ !input2true ]] ; do
- 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.
- 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.
- read input2
- input2="${input2^^}"
- if [[$input2="DONE" ]] ; then
- input2true=true
- fi
- done
- say Now, press the check next to the directory, then, add /Modpack to the directory next to the check box.
- echo Now, press the check next to the directory, then, add '/Modpack' to the directory next to the check box.
- echo Delaying 2 seconds.
- Delay 0.5 seconds
- echo Delaying 2 seconds..
- Delay 0.5 seconds
- echo Delaying 2 seconds...
- Delay 0.5 seconds
- echo Delaying 2 seconds....
- Delay 0.5 seconds
- say Press 'Save profile' and exit out Minecraft. Then, type 'Continue', in the terminal to continue.
- echo Press 'Save profile' and exit out Minecraft. Then, type 'Continue', in the terminal to continue
- read input3
- input3="${input3^^}"
- if [[ $input3=CONTINUE ]] ; then
- input3true=true
- else
- input3true=false
- fi
- while [[ !input3true ]] ; do
- say Please type Continue into the terminal to continue
- echo Please type 'Continue' into the terminal to continue.
- read input3
- input3="${input3^^}"
- if [[ $input3=CONTINUE ]] ; then
- input3true=true
- fi
- done
- say Okay, the Modpack will now finish installing.
- echo Okay, the Modpack will now finish installing
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement