Fixed build script.
This commit is contained in:
parent
ca1c9a06c2
commit
6600fe588c
15
z_build.bat
15
z_build.bat
@ -104,21 +104,22 @@ if exist "%~dp0\out\%OUT_NAME%.zip" (
|
|||||||
REM ///////////////////////////////////////////////////////////////////////////
|
REM ///////////////////////////////////////////////////////////////////////////
|
||||||
REM // Create version tag
|
REM // Create version tag
|
||||||
REM ///////////////////////////////////////////////////////////////////////////
|
REM ///////////////////////////////////////////////////////////////////////////
|
||||||
echo MediaInfoXP - Simple GUI for MediaInfo > "%OUT_NAME%.txt"
|
echo MediaInfoXP - Simple GUI for MediaInfo > "%~dp0\out\%OUT_NAME%.txt"
|
||||||
echo Built on %ISO_DATE%, at %TIME% >> "%OUT_NAME%.txt"
|
echo Built %ISO_DATE%, %TIME% >> "%~dp0\out\%OUT_NAME%.txt"
|
||||||
echo opyright (C) 2004-2014 LoRd_MuldeR ^<MuldeR2@GMX.de^> >> "%OUT_NAME%.txt"
|
echo Copyright (C) 2004-2014 LoRd_MuldeR ^<MuldeR2@GMX.de^> >> "%~dp0\out\%OUT_NAME%.txt"
|
||||||
echo. >> "%OUT_NAME%.txt"
|
echo. >> "%~dp0\out\%OUT_NAME%.txt"
|
||||||
echo MediaInfo(Lib) is Copyright (C) 2002-2014 MediaArea.net SARL. >> "%OUT_NAME%.txt"
|
echo MediaInfo(Lib) is Copyright (C) 2002-2014 MediaArea.net SARL. >> "%~dp0\out\%OUT_NAME%.txt"
|
||||||
echo. >> "%OUT_NAME%.txt"
|
echo. >> "%~dp0\out\%OUT_NAME%.txt"
|
||||||
|
|
||||||
REM ///////////////////////////////////////////////////////////////////////////
|
REM ///////////////////////////////////////////////////////////////////////////
|
||||||
REM // Build the package
|
REM // Build the package
|
||||||
REM ///////////////////////////////////////////////////////////////////////////
|
REM ///////////////////////////////////////////////////////////////////////////
|
||||||
pushd "%PACK_PATH%
|
pushd "%PACK_PATH%
|
||||||
"%~dp0\etc\zip.exe" -9 -r -z "%~dp0\out\%OUT_NAME%.zip" "*.*" < "%OUT_NAME%.txt"
|
"%~dp0\etc\zip.exe" -9 -r -z "%~dp0\out\%OUT_NAME%.zip" "*.*" < "%~dp0\out\%OUT_NAME%.txt"
|
||||||
popd
|
popd
|
||||||
rmdir /Q /S "%PACK_PATH%"
|
rmdir /Q /S "%PACK_PATH%"
|
||||||
attrib +R "%~dp0\out\%OUT_NAME%.zip"
|
attrib +R "%~dp0\out\%OUT_NAME%.zip"
|
||||||
|
del "%~dp0\out\%OUT_NAME%.txt"
|
||||||
|
|
||||||
REM ///////////////////////////////////////////////////////////////////////////
|
REM ///////////////////////////////////////////////////////////////////////////
|
||||||
REM // COMPLETE
|
REM // COMPLETE
|
||||||
|
Loading…
Reference in New Issue
Block a user