kopia lustrzana https://github.com/OpenDroneMap/ODM
Conditional signing macro
rodzic
51feb49d09
commit
41020ef1a8
|
@ -193,7 +193,7 @@ def dist():
|
|||
z.extractall("innosetup")
|
||||
|
||||
# Run
|
||||
cs_flags = '"/Ssigntool=%s"' % signtool_path
|
||||
cs_flags = '/DSKIP_SIGN=1'
|
||||
if args.code_sign_cert_path:
|
||||
cs_flags = '"/Ssigntool=%s sign /f %s /fd SHA1 /t http://timestamp.sectigo.com $f"' % (signtool_path, args.code_sign_cert_path)
|
||||
run("innosetup\\iscc /Qp " + cs_flags + " \"innosetup.iss\"")
|
||||
|
|
|
@ -30,7 +30,9 @@ Compression=lzma
|
|||
SolidCompression=yes
|
||||
ArchitecturesAllowed=x64
|
||||
ArchitecturesInstallIn64BitMode=x64
|
||||
#ifndef SKIP_SIGN
|
||||
SignTool=signtool
|
||||
#endif
|
||||
PrivilegesRequired=lowest
|
||||
PrivilegesRequiredOverridesAllowed=commandline
|
||||
UsePreviousAppDir=no
|
||||
|
|
Ładowanie…
Reference in New Issue