Skip to content

Commit

Permalink
Use InnoSetup SignTool for setup signing.
Browse files Browse the repository at this point in the history
Fixes #27583.
  • Loading branch information
john-preston committed May 30, 2024
1 parent aa4156d commit a9dd9ae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 0 additions & 6 deletions Telegram/build/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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%
Expand Down
1 change: 1 addition & 0 deletions Telegram/build/setup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ CloseApplications=force
DisableDirPage=no
DisableProgramGroupPage=no
WizardStyle=modern
SignTool=sha256

#if MyBuildTarget == "win64"
ArchitecturesAllowed="x64 arm64"
Expand Down

0 comments on commit a9dd9ae

Please sign in to comment.