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