From 6e72950e6c5f1cf9bef0ad446fe5cb7b80e26062 Mon Sep 17 00:00:00 2001 From: Frederick Ding Date: Thu, 31 May 2018 03:35:03 -0400 Subject: [PATCH] Update WinGUI build script: allow SignTool.exe location to be specified and assume x64 (#1376) * WinGUI: fix `SignToolLocation` typos in build.xml Previously, a mismatch between the condition (which checked for an empty `SignToolLocation`) and the action it took (by setting `SighToolLocation`) made it difficult to override the actual location of `SignTool.exe`. The bug was introduced in HandBrake/HandBrake@d375071be1158deb73ccb1d262310f15f231eca9 * WinGUI: Assume x64 platform in examples Since 32-bit Windows is no longer supported (HandBrake/HandBrake@ecbd10efbdf286b9a5248fd0a870036cd4437360), the comment at the top of `build.xml` for WinGUI shouldn't need a platform property anymore. `build.xml` is already set to assume x64 as the default platform. * WinGUI: minor typo fixes Just a few aesthetic changes with no effect on functionality --- win/CS/build.xml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/win/CS/build.xml b/win/CS/build.xml index e50b3ae38..e493e0047 100644 --- a/win/CS/build.xml +++ b/win/CS/build.xml @@ -4,14 +4,14 @@ Homepage: . It may be used under the terms of the GNU General Public License - HandBrake Build Scipt for usage with Jenkins. + HandBrake Build Script for usage with Jenkins. Usage: - msbuild build.xml /p:Platform=x64 /t:Nightly - msbuild build.xml /p:Platform=x64 /t:Release + msbuild build.xml /t:Nightly + msbuild build.xml /t:Release Example with code signing: - msbuild build.xml /p:Platform=x64 /t:Release /p:SignThumbprint=XYZ /p:SignTimestampServer=http://time.certum.pl/ + msbuild build.xml /t:Release /p:SignThumbprint=XYZ /p:SignTimestampServer=http://time.certum.pl/ - Reuqires: libhb.dll to be in the release folder. + Requires: libhb.dll to be in the release folder. --> @@ -38,7 +38,7 @@ - + - C:\Program Files (x86)\Windows Kits\10\bin\10.0.15063.0\x64\SignTool.exe + C:\Program Files (x86)\Windows Kits\10\bin\10.0.15063.0\x64\SignTool.exe @@ -62,7 +62,7 @@ - + @@ -70,7 +70,7 @@ - + - \ No newline at end of file + -- 2.40.0