[Build Script] Add Sign.cmd

This commit is contained in:
zilmar 2016-06-07 17:27:36 +10:00
parent 51aad1456f
commit c743e0c371
1 changed files with 8 additions and 0 deletions

8
Source/Script/sign.cmd Normal file
View File

@ -0,0 +1,8 @@
@echo off
set errorlevel=
IF NOT DEFINED SDKROOT ( exit /B 0 )
IF NOT DEFINED project64_cert_file ( exit /B 0 )
IF NOT DEFINED project64_cert_password ( exit /B 0 )
"%SDKROOT%\bin\x86\signtool.exe" sign /f "%project64_cert_file%" /p %project64_cert_password% /t http://timestamp.verisign.com/scripts/timstamp.dll "%~1"
exit /B %errorlevel%