Compare commits
1 commit
ver/202012
...
master
Author | SHA1 | Date | |
---|---|---|---|
30b3e4f6cb |
1 changed files with 4 additions and 3 deletions
7
sign.bat
7
sign.bat
|
@ -3,13 +3,14 @@
|
||||||
setlocal enabledelayedexpansion
|
setlocal enabledelayedexpansion
|
||||||
set BUILDDIR=%~dp0
|
set BUILDDIR=%~dp0
|
||||||
|
|
||||||
call :sign hr-apple || goto :error
|
call :sign hr-apple "Apple Magic Keyboard Croatian" || goto :error
|
||||||
call :sign sl-apple || goto :error
|
call :sign sl-apple "Apple Magic Keyboard Slovenian" || goto :error
|
||||||
exit /b 0
|
exit /b 0
|
||||||
|
|
||||||
:sign
|
:sign
|
||||||
set BASENAME=%1
|
set BASENAME=%1
|
||||||
signtool.exe sign /sha1 "%ManifestCertificateThumbprint%" /fd sha256 /tr "%ManifestTimestampRFC3161Url%" /td sha256 "%BUILDDIR%%BASENAME%\amd64\%BASENAME%.dll" "%BUILDDIR%%BASENAME%\i386\%BASENAME%.dll" "%BUILDDIR%%BASENAME%\ia64\%BASENAME%.dll" "%BUILDDIR%%BASENAME%\wow64\%BASENAME%.dll" "%BUILDDIR%%BASENAME%\%BASENAME%_amd64.msi" "%BUILDDIR%%BASENAME%\%BASENAME%_i386.msi" "%BUILDDIR%%BASENAME%\%BASENAME%_ia64.msi"
|
set DESCRIPTION=%2
|
||||||
|
signtool.exe sign /sha1 "%ManifestCertificateThumbprint%" /fd sha256 /tr "%ManifestTimestampRFC3161Url%" /td sha256 /d "%DESCRIPTION%" "%BUILDDIR%%BASENAME%\amd64\%BASENAME%.dll" "%BUILDDIR%%BASENAME%\i386\%BASENAME%.dll" "%BUILDDIR%%BASENAME%\ia64\%BASENAME%.dll" "%BUILDDIR%%BASENAME%\wow64\%BASENAME%.dll" "%BUILDDIR%%BASENAME%\%BASENAME%_amd64.msi" "%BUILDDIR%%BASENAME%\%BASENAME%_i386.msi" "%BUILDDIR%%BASENAME%\%BASENAME%_ia64.msi"
|
||||||
goto :eof
|
goto :eof
|
||||||
|
|
||||||
:error
|
:error
|
||||||
|
|
Loading…
Add table
Reference in a new issue