mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
Restricted code signing postbuild task to only Release configurations
This commit is contained in:
@@ -1203,7 +1203,11 @@ REM Set LargeAddressAware on binary
|
||||
editbin /largeaddressaware mRemoteNG.exe
|
||||
|
||||
REM Sign binaries
|
||||
IF EXIST C:\mRemoteNG_code_signing_cert.pfx (powershell "&""$(SolutionDir)Tools\signfiles.ps1""" '%25cd%25')
|
||||
IF EXIST C:\mRemoteNG_code_signing_cert.pfx (
|
||||
IF %25buildenv: Portable=%25==Release (
|
||||
powershell "&""$(SolutionDir)Tools\signfiles.ps1""" '%25cd%25'
|
||||
)
|
||||
)
|
||||
|
||||
REM Remove unnecessary files from Release versions
|
||||
IF %25buildenv: Portable=%25==Release (
|
||||
|
||||
Reference in New Issue
Block a user