mirror of https://github.com/lukechilds/node.git
Browse Source
PR-URL: https://github.com/nodejs/node/pull/9155 Reviewed-By: Johan Bergström <bugs@bergstroem.nu> Reviewed-By: João Reis <reis@janeasystems.com>v0.10
2 changed files with 17 additions and 2 deletions
@ -0,0 +1,15 @@ |
|||
@echo off |
|||
|
|||
set timeservers=(http://timestamp.globalsign.com/scripts/timestamp.dll http://timestamp.comodoca.com/authenticode http://timestamp.verisign.com/scripts/timestamp.dll http://tsa.starfieldtech.com) |
|||
|
|||
for %%s in %timeservers% do ( |
|||
signtool sign /a /d "node" /t %%s %1 |
|||
if not ERRORLEVEL 1 ( |
|||
echo Successfully signed %1 using timeserver %%s |
|||
exit /b 0 |
|||
) |
|||
echo Signing %1 failed using %%s |
|||
) |
|||
|
|||
echo Could not sign %1 using any available timeserver |
|||
exit /b 1 |
Loading…
Reference in new issue