From 7afb76d943e9bed4b7a8fa39902c719c5a541f07 Mon Sep 17 00:00:00 2001 From: lordmulder Date: Mon, 26 Feb 2018 16:21:02 +0100 Subject: [PATCH] Small tweak to build script. --- z_build.bat | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/z_build.bat b/z_build.bat index b996bcf..b8a2f35 100644 --- a/z_build.bat +++ b/z_build.bat @@ -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"