summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorFrederick Ding <[email protected]>2018-05-31 03:35:03 -0400
committerScott <[email protected]>2018-05-31 08:35:03 +0100
commit6e72950e6c5f1cf9bef0ad446fe5cb7b80e26062 (patch)
tree3b07f6f50ba570d7fac70a14d72655814a71a1f1 /win
parentd8347e1b414fc05425fac84dbd0c8f1b66d017c9 (diff)
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
Diffstat (limited to 'win')
-rw-r--r--win/CS/build.xml20
1 files 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: <http://handbrake.fr>.
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.
-->
<Project DefaultTargets="Nightly" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
@@ -38,7 +38,7 @@
<Target Name="Nightly" DependsOnTargets="$(NightlyDependsOn)"/>
<Target Name="Release" DependsOnTargets="$(InstallDependsOn)"/>
- <!-- Build All Components (WPF, ApplicationServices, Interop -->
+ <!-- Build All Components (WPF, ApplicationServices, Interop) -->
<Target Name="BuildRelease">
<MSBuild Projects ="@(ProjectsToBuild)"
ContinueOnError ="false"
@@ -49,7 +49,7 @@
<!-- Code Signing Configuration -->
<PropertyGroup Condition="'$(SignToolLocation)'==''">
- <SighToolLocation>C:\Program Files (x86)\Windows Kits\10\bin\10.0.15063.0\x64\SignTool.exe</SighToolLocation>
+ <SignToolLocation>C:\Program Files (x86)\Windows Kits\10\bin\10.0.15063.0\x64\SignTool.exe</SignToolLocation>
</PropertyGroup>
<PropertyGroup Condition="'$(SignThumbprint)'!=''">
@@ -62,7 +62,7 @@
<Exec Command="copy $(MSBuildProjectDirectory)\HandBrakeWPF\handbrakepineapple.ico $(MSBuildProjectDirectory)\HandBrakeWPF\bin\x64\Release /Y" Condition="$(Platform) == 'x64'" />
<Exec Command="xcopy $(MSBuildProjectDirectory)\doc $(MSBuildProjectDirectory)\HandBrakeWPF\bin\x64\Release\doc /I /Y" Condition="$(Platform) == 'x64'" />
<Exec Command="makensis $(MSBuildProjectDirectory)\HandBrakeWPF\bin\x64\Release\MakeNightly64.nsi" Condition="$(Platform) == 'x64'" />
- <Exec Command="&quot;$(SighToolLocation)&quot; sign /sha1 $(SignThumbprint) $(SignTimestamp) $(SignTimestampServer) /v &quot;$(MSBuildProjectDirectory)\HandBrakeWPF\bin\$(Platform)\Release\*Win_GUI.exe&quot;" Condition="'$(SignThumbprint)' != ''" />
+ <Exec Command="&quot;$(SignToolLocation)&quot; sign /sha1 $(SignThumbprint) $(SignTimestamp) $(SignTimestampServer) /v &quot;$(MSBuildProjectDirectory)\HandBrakeWPF\bin\$(Platform)\Release\*Win_GUI.exe&quot;" Condition="'$(SignThumbprint)' != ''" />
</Target>
<Target Name="ReleasePostBuild">
@@ -70,7 +70,7 @@
<Exec Command="copy $(MSBuildProjectDirectory)\HandBrakeWPF\handbrakepineapple.ico $(MSBuildProjectDirectory)\HandBrakeWPF\bin\x64\Release /Y" Condition="$(Platform) == 'x64'" />
<Exec Command="xcopy $(MSBuildProjectDirectory)\doc $(MSBuildProjectDirectory)\HandBrakeWPF\bin\x64\Release\doc /I /Y" Condition="$(Platform) == 'x64'" />
<Exec Command="makensis $(MSBuildProjectDirectory)\HandBrakeWPF\bin\x64\Release\Installer64.nsi" Condition="$(Platform) == 'x64'" />
- <Exec Command="&quot;$(SighToolLocation)&quot; sign /sha1 $(SignThumbprint) $(SignTimestamp) $(SignTimestampServer) /v &quot;$(MSBuildProjectDirectory)\HandBrakeWPF\bin\$(Platform)\Release\*Win_GUI.exe&quot;" Condition="'$(SignThumbprint)' != ''" />
+ <Exec Command="&quot;$(SignToolLocation)&quot; sign /sha1 $(SignThumbprint) $(SignTimestamp) $(SignTimestampServer) /v &quot;$(MSBuildProjectDirectory)\HandBrakeWPF\bin\$(Platform)\Release\*Win_GUI.exe&quot;" Condition="'$(SignThumbprint)' != ''" />
</Target>
-</Project> \ No newline at end of file
+</Project>