You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sconstruct
+42-28Lines changed: 42 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
# A part of NonVisual Desktop Access (NVDA)
2
-
# Copyright (C) 2010-2023 NV Access Limited, James Teh, Michael Curran, Peter Vágner, Joseph Lee,
2
+
# Copyright (C) 2010-2024 NV Access Limited, James Teh, Michael Curran, Peter Vágner, Joseph Lee,
3
3
# Reef Turner, Babbage B.V., Leonard de Ruijter, Łukasz Golonka, Accessolutions, Julien Cochuyt,
4
4
# Cyrille Bougot
5
5
# This file may be used under the terms of the GNU General Public License, version 2 or later.
@@ -95,6 +95,7 @@ vars.Add(PathVariable("certFile", "The certificate file with which to sign execu
95
95
lambda key, val, env: not val or PathVariable.PathIsFile(key, val, env)))
96
96
vars.Add("certPassword", "The password for the private key in the signing certificate", "")
97
97
vars.Add("certTimestampServer", "The URL of the timestamping server to use to timestamp authenticode signatures", "")
98
+
vars.Add("apiSigningToken", "The API key for the signing service", "")
98
99
vars.Add(PathVariable("outputDir", "The directory where the final built archives and such will be placed", "output",PathVariable.PathIsDirCreate))
99
100
vars.Add(ListVariable("nvdaHelperDebugFlags", "a list of debugging features you require", 'none', ["debugCRT","RTC","analyze"]))
100
101
vars.Add(EnumVariable('nvdaHelperLogLevel','The level of logging you wish to see, lower is more verbose','15',allowed_values=[str(x) for x in range(60)]))
@@ -146,6 +147,7 @@ publisher = env["publisher"]
146
147
certFile = env["certFile"]
147
148
certPassword = env["certPassword"]
148
149
certTimestampServer = env["certTimestampServer"]
150
+
apiSigningToken = env["apiSigningToken"]
149
151
userDocsDir=Dir('user_docs')
150
152
sourceDir = env.Dir("source")
151
153
Export('sourceDir')
@@ -165,26 +167,38 @@ Export('outFilePrefix')
165
167
outputDir=Dir(env['outputDir'])
166
168
Export('outputDir')
167
169
168
-
# An action to sign an executable with certFile.
169
-
# we encrypt with SHA256 as this is the minimum required by the Windows Store for appx packages
0 commit comments