From 49bc9123c2c3e33e301741d8dff9067d80a641bf Mon Sep 17 00:00:00 2001 From: lordmulder Date: Sun, 8 Feb 2015 22:45:12 +0100 Subject: [PATCH] Show debug console only for "pre-release" builds. --- src/main.cpp | 2 +- src/version.h | 2 +- z_build.bat | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index b21cd05..59790c4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -190,5 +190,5 @@ static int simple_x264_main(int &argc, char **argv) int main(int argc, char* argv[]) { - return MUtils::Startup::startup(argc, argv, simple_x264_main, "Simple x264 Launcher", true /*lamexp_version_demo()*/); + return MUtils::Startup::startup(argc, argv, simple_x264_main, "Simple x264 Launcher", x264_is_prerelease()); } diff --git a/src/version.h b/src/version.h index 9f8ef2e..f2fc07f 100644 --- a/src/version.h +++ b/src/version.h @@ -26,7 +26,7 @@ #define VER_X264_MAJOR 2 #define VER_X264_MINOR 4 #define VER_X264_PATCH 6 -#define VER_X264_BUILD 917 +#define VER_X264_BUILD 918 #define VER_X264_PORTABLE_EDITION (0) diff --git a/z_build.bat b/z_build.bat index d70f16f..41c6981 100644 --- a/z_build.bat +++ b/z_build.bat @@ -100,7 +100,7 @@ copy "%~dp0\bin\Win32\Release\toolset\x64\*.exe" "%PACK_PATH%\toolset\x64" copy "%~dp0\bin\Win32\Release\toolset\x64\*.dll" "%PACK_PATH%\toolset\x64" copy "%~dp0\bin\Win32\Release\toolset\common\*.exe" "%PACK_PATH%\toolset\common" copy "%~dp0\bin\Win32\Release\toolset\common\*.gpg" "%PACK_PATH%\toolset\common" -copy "%~dp0\etc\sources\*.tar" "%PACK_PATH%\sources" +copy "%~dp0\etc\sources\*.xz" "%PACK_PATH%\sources" copy "%~dp0\LICENSE.html" "%PACK_PATH%" copy "%~dp0\*.txt" "%PACK_PATH%"