mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-24 15:26:46 -06:00
Sign the pgAdmin4.exe file using signtool before creating the installer.
This commit is contained in:
parent
8651a1ed45
commit
e177344ae1
9
Make.bat
9
Make.bat
@ -292,6 +292,15 @@ REM Main build sequence Ends
|
|||||||
REM WGET END
|
REM WGET END
|
||||||
|
|
||||||
MOVE "%BUILDROOT%\runtime\nw.exe" "%BUILDROOT%\runtime\pgAdmin4.exe"
|
MOVE "%BUILDROOT%\runtime\nw.exe" "%BUILDROOT%\runtime\pgAdmin4.exe"
|
||||||
|
ECHO Attempting to sign the pgAdmin4.exe...
|
||||||
|
CALL "%PGADMIN_SIGNTOOL_DIR%\signtool.exe" sign /tr http://timestamp.digicert.com "%BUILDROOT%\runtime\pgAdmin4.exe"
|
||||||
|
IF %ERRORLEVEL% NEQ 0 (
|
||||||
|
ECHO.
|
||||||
|
ECHO ************************************************************
|
||||||
|
ECHO * Failed to sign the pgAdmin4.exe
|
||||||
|
ECHO ************************************************************
|
||||||
|
PAUSE
|
||||||
|
)
|
||||||
|
|
||||||
ECHO Replacing executable icon...
|
ECHO Replacing executable icon...
|
||||||
CALL yarn --cwd "%TMPDIR%" add winresourcer || EXIT /B
|
CALL yarn --cwd "%TMPDIR%" add winresourcer || EXIT /B
|
||||||
|
Loading…
Reference in New Issue
Block a user