Use InnoSetup SignTool for setup signing.

Fixes #27583.
This commit is contained in:
John Preston 2024-05-30 17:38:50 +04:00
parent aa4156d1e7
commit a9dd9aeb90
2 changed files with 1 additions and 6 deletions

View File

@ -208,12 +208,6 @@ if %BuildUWP% equ 0 (
iscc /dMyAppVersion=%AppVersionStrSmall% /dMyAppVersionZero=%AppVersionStr% /dMyAppVersionFull=%AppVersionStrFull% "/dReleasePath=%ReleasePath%" "/dMyBuildTarget=%BuildTarget%" "%FullScriptPath%setup.iss"
if %errorlevel% neq 0 goto error
if not exist "%SetupFile%" goto error
:sign3
call "%SignPath%" "%SetupFile%"
if %errorlevel% neq 0 (
timeout /t 3
goto sign3
)
)
call Packer.exe -version %VersionForPacker% -path %BinaryName%.exe -path Updater.exe -path "modules\%Platform%\d3d\d3dcompiler_47.dll" -target %BuildTarget% %AlphaBetaParam%

View File

@ -34,6 +34,7 @@ CloseApplications=force
DisableDirPage=no
DisableProgramGroupPage=no
WizardStyle=modern
SignTool=sha256
#if MyBuildTarget == "win64"
ArchitecturesAllowed="x64 arm64"