Created
September 22, 2011 23:57
-
-
Save lukespragg/1236398 to your computer and use it in GitHub Desktop.
spoutcraft.sh
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/bash | |
rm -r -f .git | |
echo "Yes" | runtime/bin/python/python_mcp runtime/cleanup.py | |
cp -r ~/AppData/Roaming/.minecraft/bin jars | |
cp -r ~/AppData/Roaming/.minecraft/resources jars | |
git clone --no-hardlinks https://github.com/SpoutDev/Spoutcraft.git sc.tmp | |
echo Moving .git folder... | |
cp -vrf sc.tmp/.git . | |
echo Moving conf folder... | |
cp -vrf sc.tmp/conf . | |
echo Running decompile script... | |
sh decompile.sh | |
echo Forcing overwrite of Spoutcraft files... | |
cp -vrf sc.tmp/. . | |
echo Deleting sc.tmp | |
rm -rf sc.tmp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment