From b3bce7b5353aa90adcbf69286230447c8d6d7e27 Mon Sep 17 00:00:00 2001 From: lordmulder Date: Mon, 19 Aug 2019 23:01:06 +0200 Subject: [PATCH] Adjusted build script to invoke Rich-Header Eraser tool on our binaries. --- src/version.h | 2 +- z_build.bat | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/version.h b/src/version.h index 6a98256..cc1cf11 100644 --- a/src/version.h +++ b/src/version.h @@ -26,7 +26,7 @@ #define VER_X264_MAJOR 2 #define VER_X264_MINOR 9 #define VER_X264_PATCH 3 -#define VER_X264_BUILD 1184 +#define VER_X264_BUILD 1187 #define VER_X264_PORTABLE_EDITION (0) diff --git a/z_build.bat b/z_build.bat index 60e9ca3..eda2c2f 100644 --- a/z_build.bat +++ b/z_build.bat @@ -150,8 +150,11 @@ REM /////////////////////////////////////////////////////////////////////////// "%~dp0\..\Prerequisites\Pandoc\pandoc.exe" --from markdown_github+pandoc_title_block+header_attributes+implicit_figures --to html5 --toc -N --standalone -H "%~dp0\etc\css\style.inc" "%~dp0\README.md" | "%JAVA_HOME%\bin\java.exe" -jar "%~dp0\..\Prerequisites\HTMLCompressor\bin\htmlcompressor-1.5.3.jar" --compress-css -o "%PACK_PATH%\README.html" REM /////////////////////////////////////////////////////////////////////////// -REM // Compress +REM // Cleanse binaries REM /////////////////////////////////////////////////////////////////////////// +"..\Prerequisites\RichHeaderEraser\rchhdrrsr.exe" "%PACK_PATH%\*.exe" "%PACK_PATH%\MUtils32*.dll" "%PACK_PATH%\Qt*.dll" + +pause :: "%~dp0\..\Prerequisites\UPX\upx.exe" --best "%PACK_PATH%\x264_launcher.exe" :: "%~dp0\..\Prerequisites\UPX\upx.exe" --best "%PACK_PATH%\MUtils32-1.dll" :: "%~dp0\..\Prerequisites\UPX\upx.exe" --best "%PACK_PATH%\Qt*.dll"