ForgePatch/forge/setup.sh

8 lines
203 B
Bash
Executable File

if [ ! -f ../src_base ]; then
cp -r ../src ../src_base
patch -p0 < minecraft.patch
cp -r ../src ../src_work
else
echo "patch already applied - remove src and src_base and decompile again"
fi