Created
November 28, 2011 02:04
-
-
Save micolous/1398783 to your computer and use it in GitHub Desktop.
downloads minecraft
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
mkdir -p MinecraftDownload | |
cd MinecraftDownload | |
echo "Downloading content..." | |
cat << EOF | wget -U Mozilla/5.0 -c -N -i - | |
http://s3.amazonaws.com/MinecraftDownload/minecraft.jar | |
http://s3.amazonaws.com/MinecraftDownload/lwjgl.jar | |
http://s3.amazonaws.com/MinecraftDownload/jinput.jar | |
http://s3.amazonaws.com/MinecraftDownload/lwjgl_util.jar | |
http://s3.amazonaws.com/MinecraftDownload/linux_natives.jar.lzma | |
http://s3.amazonaws.com/MinecraftDownload/macosx_natives.jar.lzma | |
http://s3.amazonaws.com/MinecraftDownload/solaris_natives.jar.lzma | |
http://s3.amazonaws.com/MinecraftDownload/windows_natives.jar.lzma | |
EOF | |
echo "Uncompressing natives..." | |
lzma -dk \ | |
linux_natives.jar.lzma \ | |
macosx_natives.jar.lzma \ | |
solaris_natives.jar.lzma \ | |
windows_natives.jar.lzma | |
# done | |
echo "Content downloaded." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment