From 167bbe100e1a02f3c3c4409ae8cf1b22f7690ff7 Mon Sep 17 00:00:00 2001 From: Akshay Joshi Date: Tue, 15 Oct 2024 14:48:14 +0530 Subject: [PATCH] Another attempt to fix signtool error on Windows --- Make.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Make.bat b/Make.bat index 1b799cf26..826dd5779 100644 --- a/Make.bat +++ b/Make.bat @@ -308,7 +308,7 @@ REM Main build sequence Ends %TMPDIR%\rcedit-x64.exe "%BUILDROOT%\runtime\pgAdmin4.exe" --set-product-version "%APP_VERSION%"" ECHO Attempting to sign the pgAdmin4.exe... - CALL "%PGADMIN_SIGNTOOL_DIR%\signtool.exe" sign /fd certHash /tr http://timestamp.digicert.com "%BUILDROOT%\runtime\pgAdmin4.exe" + CALL "%PGADMIN_SIGNTOOL_DIR%\signtool.exe" sign /fd certHash /tr http://timestamp.digicert.com /td SHA256 "%BUILDROOT%\runtime\pgAdmin4.exe" IF %ERRORLEVEL% NEQ 0 ( ECHO. ECHO ************************************************************ @@ -376,7 +376,7 @@ REM Main build sequence Ends :SIGN_INSTALLER ECHO Attempting to sign the installer... - CALL "%PGADMIN_SIGNTOOL_DIR%\signtool.exe" sign /fd certHash /tr http://timestamp.digicert.com "%DISTROOT%\%INSTALLERNAME%" + CALL "%PGADMIN_SIGNTOOL_DIR%\signtool.exe" sign /fd certHash /tr http://timestamp.digicert.com /td SHA256 "%DISTROOT%\%INSTALLERNAME%" IF %ERRORLEVEL% NEQ 0 ( ECHO. ECHO ************************************************************