diff --git a/forge/package.sh b/forge/package.sh index 0ecc4cc63..222f6d843 100755 --- a/forge/package.sh +++ b/forge/package.sh @@ -1,91 +1,93 @@ -read major minor revision build nul - rmdir /S /Q src + if "%1"=="-skipdecompile" ( + @echo | cmd /C updatenames.bat + ) ELSE ( + rmdir /S /Q src + @echo | cmd /C decompile.bat + ) rmdir /S /Q src_base rmdir /S /Q src_work - @echo | cmd /C decompile.bat - pushd src >nul del minecraft\net\minecraft\src\MLProp.java copy ..\forge\MLProp.java minecraft\net\minecraft\src\MLProp.java @@ -43,5 +46,4 @@ pushd .. >nul popd >nul popd >nul echo finished -pause - +pause \ No newline at end of file