Updated build script.
This commit is contained in:
parent
ede3c88290
commit
6ad4ae1d73
15
z_build.bat
15
z_build.bat
@ -92,10 +92,21 @@ attrib +R "%PACK_PATH%\*.html"
|
||||
attrib +R "%PACK_PATH%\*.txt"
|
||||
|
||||
REM ///////////////////////////////////////////////////////////////////////////
|
||||
REM // Build the installer
|
||||
REM // Generate outfile name
|
||||
REM ///////////////////////////////////////////////////////////////////////////
|
||||
"%~dp0\etc\7za.exe" a -mm=Deflate -mfb=258 -mpass=15 -r "%~dp0\out\MediaInfo-GUI.%ISO_DATE%.zip" "%PACK_PATH%\*.*"
|
||||
set "OUT_NAME=MediaInfo-GUI.%ISO_DATE%"
|
||||
:CheckOutName
|
||||
if exist "%~dp0\out\%OUT_NAME%.zip" (
|
||||
"OUT_NAME=%OUT_NAME%.new"
|
||||
goto CheckOutName
|
||||
)
|
||||
|
||||
REM ///////////////////////////////////////////////////////////////////////////
|
||||
REM // Build the package
|
||||
REM ///////////////////////////////////////////////////////////////////////////
|
||||
"%~dp0\etc\7za.exe" a -mm=Deflate -mfb=258 -mpass=15 -r "%~dp0\out\%OUT_NAME%.zip" "%PACK_PATH%\*.*"
|
||||
rmdir /Q /S "%PACK_PATH%"
|
||||
attrib +R "%~dp0\out\%OUT_NAME%.zip"
|
||||
|
||||
REM ///////////////////////////////////////////////////////////////////////////
|
||||
REM // COMPLETE
|
||||
|
Loading…
Reference in New Issue
Block a user