From a9dd9aeb90184bc81e4cc18445a4638434fab9f0 Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 30 May 2024 17:38:50 +0400 Subject: [PATCH] Use InnoSetup SignTool for setup signing. Fixes #27583. --- Telegram/build/build.bat | 6 ------ Telegram/build/setup.iss | 1 + 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Telegram/build/build.bat b/Telegram/build/build.bat index 43f145c55..3f3b65caa 100644 --- a/Telegram/build/build.bat +++ b/Telegram/build/build.bat @@ -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% diff --git a/Telegram/build/setup.iss b/Telegram/build/setup.iss index 8b0715581..5c5ee7635 100644 --- a/Telegram/build/setup.iss +++ b/Telegram/build/setup.iss @@ -34,6 +34,7 @@ CloseApplications=force DisableDirPage=no DisableProgramGroupPage=no WizardStyle=modern +SignTool=sha256 #if MyBuildTarget == "win64" ArchitecturesAllowed="x64 arm64"