forked from dokan-dev/dokany
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sign.bat
18 lines (15 loc) · 1.93 KB
/
sign.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
REM Internal script to sign binaries before publishing a release on github
REM This will *NOT* work on your computer without the excepted driver signing certificate!
REM Because of various code signing certificates on our build machines, this script use explicitly a code signing certificate issued by GoDaddy (/i Daddy).
REM Sign dll/exe files
signtool sign /v /i Daddy /ac "cert\Go Daddy Class 2 Certification Authority.cer" /t http://timestamp.verisign.com/scripts/timstamp.dll Win32\Release\*.dll
signtool sign /v /i Daddy /ac "cert\Go Daddy Class 2 Certification Authority.cer" /t http://timestamp.verisign.com/scripts/timstamp.dll Win32\Release\*.exe
signtool sign /v /i Daddy /ac "cert\Go Daddy Class 2 Certification Authority.cer" /t http://timestamp.verisign.com/scripts/timstamp.dll x64\Release\*.dll
signtool sign /v /i Daddy /ac "cert\Go Daddy Class 2 Certification Authority.cer" /t http://timestamp.verisign.com/scripts/timstamp.dll x64\Release\*.exe
REM Sign driver files...
signtool sign /v /i Daddy /ac "cert\Go Daddy Class 2 Certification Authority.cer" /t http://timestamp.verisign.com/scripts/timstamp.dll Win32\Win7Release\dokan.sys
signtool sign /v /i Daddy /ac "cert\Go Daddy Class 2 Certification Authority.cer" /t http://timestamp.verisign.com/scripts/timstamp.dll Win32\Win8Release\dokan.sys
signtool sign /v /i Daddy /ac "cert\Go Daddy Class 2 Certification Authority.cer" /t http://timestamp.verisign.com/scripts/timstamp.dll Win32\Win8.1Release\dokan.sys
signtool sign /v /i Daddy /ac "cert\Go Daddy Class 2 Certification Authority.cer" /t http://timestamp.verisign.com/scripts/timstamp.dll x64\Win7Release\dokan.sys
signtool sign /v /i Daddy /ac "cert\Go Daddy Class 2 Certification Authority.cer" /t http://timestamp.verisign.com/scripts/timstamp.dll x64\Win8Release\dokan.sys
signtool sign /v /i Daddy /ac "cert\Go Daddy Class 2 Certification Authority.cer" /t http://timestamp.verisign.com/scripts/timstamp.dll x64\Win8.1Release\dokan.sys