Subversion Repositories spacemission

Rev

Go to most recent revision | View as "text/x-msdos-batch" | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. @echo off
  2.  
  3. if "%~1"=="" goto :done
  4.  
  5. echo Sign %1 ...
  6.  
  7. echo "C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x64\signtool.exe" verify /pa %1
  8. >NUL 2>&1 "C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x64\signtool.exe" verify /pa %1 && (
  9.   echo File %2 is already signed, skipping
  10. ) || (
  11.   "C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x64\signtool.exe" sign /a /tr http://timestamp.globalsign.com/tsa/r6advanced1 /td SHA256 /fd SHA256 /n "HickelSOFT" /v %1
  12.   exit /b 0
  13. )
  14.  
  15. :done
  16.