project64/Source/Script/sign.cmd

8 lines
340 B
Batchfile

@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%