2011-07-19 17:58:23 +00:00
|
|
|
set CYGWIN=E:\cygwin\bin
|
2011-07-17 12:16:26 +00:00
|
|
|
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
rmdir /S /Q src
|
|
|
|
|
|
|
|
IF EXIST src_base (
|
2011-07-19 17:58:23 +00:00
|
|
|
move src_base src
|
2011-07-17 12:16:26 +00:00
|
|
|
rmdir /S /Q src_work
|
|
|
|
) ELSE (
|
|
|
|
cmd /C decompile.bat
|
|
|
|
cd src
|
|
|
|
%CYGWIN%\patch -u -p2 < ..\forge\modLoaderMP.patch
|
|
|
|
cd ..
|
|
|
|
cmd /C recompile.bat
|
|
|
|
cmd /C updatemd5.bat
|
|
|
|
)
|
|
|
|
|
|
|
|
mkdir src_base
|
|
|
|
mkdir src_work
|
|
|
|
xcopy /Y /E src\* src_base
|
|
|
|
xcopy /Y /E src\* src_work
|
|
|
|
cd src_work
|
|
|
|
%CYGWIN%\patch -u -p2 < ..\forge\minecraft.patch
|
2011-07-19 17:58:23 +00:00
|
|
|
pause
|