aboutsummaryrefslogtreecommitdiff
path: root/Src/Mastering/Winamp/simple_sign.cmd
blob: 2510dacee2e565ff4b56359dbe701828f0a9cdaf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
@echo off

if not defined WAPROJECTS set WAPROJECTS=c:\projects
if not defined CURSANDBOX set CURSANDBOX=%WAPROJECTS%

set KEYFILE=%CURSANDBOX%\codesign\nullsoft_key_15_mar_2011_private.pfx
%CURSANDBOX%\codesign\signtool.exe sign /p b05allisonZer0G /f "%KEYFILE%" /d %1 /du "http://www.winamp.com" /t http://timestamp.verisign.com/scripts/timstamp.dll /v %2
SET errCode=%ERRORLEVEL%

IF %errCode% NEQ 0 @echo SimpleSign Failed

exit /B %errCode%