mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-01 15:26:09 +00:00
Sign all deployed binaries in one signtool invocation
This commit is contained in:
parent
6e4dd161ac
commit
44f415f94d
@ -110,10 +110,12 @@ if !ERRORLEVEL! NEQ 0 goto Error
|
|||||||
|
|
||||||
if "%SIGN%"=="1" (
|
if "%SIGN%"=="1" (
|
||||||
echo Signing deployed binaries
|
echo Signing deployed binaries
|
||||||
|
set FILES_TO_SIGN=
|
||||||
for /r "%DEPLOY_FOLDER%" %%f in (*.dll *.exe) do (
|
for /r "%DEPLOY_FOLDER%" %%f in (*.dll *.exe) do (
|
||||||
signtool %SIGNTOOL_PARAMS% %%f
|
set FILES_TO_SIGN=!FILES_TO_SIGN! %%f
|
||||||
if !ERRORLEVEL! NEQ 0 goto Error
|
|
||||||
)
|
)
|
||||||
|
signtool %SIGNTOOL_PARAMS% !FILES_TO_SIGN!
|
||||||
|
if !ERRORLEVEL! NEQ 0 goto Error
|
||||||
)
|
)
|
||||||
|
|
||||||
echo Building MSI
|
echo Building MSI
|
||||||
|
Loading…
x
Reference in New Issue
Block a user