mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 11:59:25 +00:00
Major refactoring of the patches, now each modified file gets its own patch file. Rewrote all the scripts to use new multi-patch system. Added linux install.sh using new system. Added some required libraries from GNUWin32 for the windows side of the new setup.bat/update_patches.bat http://gnuwin32.sourceforge.net/
24 lines
414 B
Bash
24 lines
414 B
Bash
#!/bin/bash
|
|
|
|
echo "MinecraftForge Linux Setup Program"
|
|
echo
|
|
|
|
pushd .. > /dev/null
|
|
|
|
./cleanup.sh
|
|
./decompile.sh
|
|
|
|
pushd src > /dev/null
|
|
find . -name *.java -exec sed -i 's/\r//g' \{\} \;
|
|
patch -p2 -i ../forge/modLoaderMP.patch
|
|
patch -p1 -i ../forge/mlprop.patch
|
|
for i in `find ../forge/patches/ -type f`
|
|
do
|
|
patch -p2 -i $i
|
|
done
|
|
popd > /dev/null
|
|
|
|
cp -r forge/src/* src
|
|
|
|
./updatemd5.sh
|