Sign all deployed binaries in one signtool invocation

This commit is contained in:
Cameron Gutman 2018-10-11 18:45:29 -07:00
parent 6e4dd161ac
commit 44f415f94d

View File

@ -110,10 +110,12 @@ if !ERRORLEVEL! NEQ 0 goto Error
if "%SIGN%"=="1" (
echo Signing deployed binaries
set FILES_TO_SIGN=
for /r "%DEPLOY_FOLDER%" %%f in (*.dll *.exe) do (
signtool %SIGNTOOL_PARAMS% %%f
if !ERRORLEVEL! NEQ 0 goto Error
set FILES_TO_SIGN=!FILES_TO_SIGN! %%f
)
signtool %SIGNTOOL_PARAMS% !FILES_TO_SIGN!
if !ERRORLEVEL! NEQ 0 goto Error
)
echo Building MSI