Skip to content

Instantly share code, notes, and snippets.

@lukespragg
Created September 22, 2011 23:57
Show Gist options
  • Save lukespragg/1236398 to your computer and use it in GitHub Desktop.
Save lukespragg/1236398 to your computer and use it in GitHub Desktop.
spoutcraft.sh
#!/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