Advertisement
oxguy3

testing minecraft script

Jan 28th, 2014
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.74 KB | None | 0 0
  1. #!/bin/bash
  2. cd ~/Desktop
  3. echo ""
  4. echo "DOWNLOADING MC.DMG..."
  5. curl http://wowsuchaddress.zapto.org/htdocs/Minecraft.dmg -o mc.dmg
  6. echo ""
  7. echo "MOUNTING MC.DMG..."
  8. hdiutil attach -nobrowse mc.dmg
  9. echo ""
  10. echo "COPYING MC TO DESKTOP..."
  11. rsync -av "/Volumes/Minecraft/Minecraft.app" ~/Desktop
  12. echo ""
  13. echo "UNMOUNTING MC.DMG..."
  14. hdiutil detach "/Volumes/Minecraft"
  15. echo ""
  16. echo "DELETING MC.DMG..."
  17. rm mc.dmg
  18. echo ""
  19. echo "DOWNLOADING ASSETS..."
  20. curl http://wowsuchaddress.zapto.org/htdocs/asdf2.zip -o mcassets.zip
  21. echo ""
  22. echo "UNZIPPING ASSETS..."
  23. unzip mcassets.zip -d ~/Library/Application\ Support/minecraft
  24. echo ""
  25. echo "DELETING ZIPPED ASSETS..."
  26. rm mcassets.zip
  27. echo ""
  28. echo "CLOSING TERMINAL..."
  29. echo "killall Terminal"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement