aboutsummaryrefslogtreecommitdiff
path: root/Src/Mastering/Winamp/simple_sign.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Mastering/Winamp/simple_sign.cmd')
-rw-r--r--Src/Mastering/Winamp/simple_sign.cmd12
1 files changed, 12 insertions, 0 deletions
diff --git a/Src/Mastering/Winamp/simple_sign.cmd b/Src/Mastering/Winamp/simple_sign.cmd
new file mode 100644
index 00000000..2510dace
--- /dev/null
+++ b/Src/Mastering/Winamp/simple_sign.cmd
@@ -0,0 +1,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% \ No newline at end of file