Small tweak to build script.
This commit is contained in:
parent
1435ad135b
commit
7afb76d943
@ -181,6 +181,9 @@ REM ///////////////////////////////////////////////////////////////////////////
|
||||
"%~dp0\..\Prerequisites\NSIS\makensis.exe" "/DX264_DATE=%ISO_DATE%" "/DX264_BUILD=%BUILD_NO%" "/DX264_OUTPUT_FILE=%OUT_PATH%.sfx" "/DX264_SOURCE_PATH=%PACK_PATH%" "%~dp0\etc\setup\setup.nsi"
|
||||
if not "%ERRORLEVEL%"=="0" goto BuildError
|
||||
|
||||
"%~dp0\..\Prerequisites\NSIS\peheader.exe" "%OUT_PATH%.sfx"
|
||||
if not "%ERRORLEVEL%"=="0" goto BuildError
|
||||
|
||||
call "%~dp0\..\Prerequisites\SevenZip\7zSD.cmd" "%OUT_PATH%.sfx" "%OUT_PATH%.exe" "Simple x264/x265 Launcher" "x264_launcher-setup-r%BUILD_NO%"
|
||||
if not "%ERRORLEVEL%"=="0" goto BuildError
|
||||
|
||||
@ -189,6 +192,9 @@ set "VERPATCH_FILEVER=%ISO_DATE:-=.%.%BUILD_NO%"
|
||||
"%~dp0\..\Prerequisites\VerPatch\verpatch.exe" "%OUT_PATH%.exe" "%VERPATCH_FILEVER%" /pv "%VERPATCH_FILEVER%" /fn /s desc "%VERPATCH_PRODUCT%" /s product "%VERPATCH_PRODUCT%" /s title "x264 Launcher Installer SFX" /s copyright "Copyright (C) 2004-2018 LoRd_MuldeR" /s company "Free Software Foundation"
|
||||
if not "%ERRORLEVEL%"=="0" goto BuildError
|
||||
|
||||
"%~dp0\..\Prerequisites\NSIS\peheader.exe" "%OUT_PATH%.exe"
|
||||
if not "%ERRORLEVEL%"=="0" goto BuildError
|
||||
|
||||
attrib +R "%OUT_PATH%.exe"
|
||||
attrib +R "%OUT_PATH%.sfx"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user