Skip to content

Commit 426d866

Browse files
authored
Merge 3a15d76 into 42b1d2a
2 parents 42b1d2a + 3a15d76 commit 426d866

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

appx/manifest.xml.subst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<TargetDeviceFamily
2525
Name="Windows.Desktop"
2626
MinVersion="10.0.18990.0"
27-
MaxVersionTested="10.0.19044.0"
27+
MaxVersionTested="10.0.22621.0"
2828
/>
2929
</Dependencies>
3030
<Capabilities>

sconstruct

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# A part of NonVisual Desktop Access (NVDA)
2-
# Copyright (C) 2010-2021 NV Access Limited, James Teh, Michael Curran, Peter Vágner, Joseph Lee,
2+
# Copyright (C) 2010-2022 NV Access Limited, James Teh, Michael Curran, Peter Vágner, Joseph Lee,
33
# Reef Turner, Babbage B.V., Leonard de Ruijter, Łukasz Golonka, Accessolutions, Julien Cochuyt
44
# This file may be used under the terms of the GNU General Public License, version 2 or later.
55
# For more details see: https://www.gnu.org/licenses/gpl-2.0.html
@@ -322,16 +322,16 @@ def NVDADistGenerator(target, source, env, for_signature):
322322
action.append(buildCmd)
323323

324324
# #10031: Apps written in Python 3 require Universal CRT to be installed. We cannot assume users have it on their systems.
325-
# Therefore , copy required libraries from Windows 10 SDK.
325+
# Therefore, copy required libraries from Windows 11 SDK.
326326
try:
327327
with winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, r'SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0', 0,winreg.KEY_READ|winreg.KEY_WOW64_32KEY) as SDKKey:
328328
sdk_installationFolder = winreg.QueryValueEx(SDKKey, 'InstallationFolder')[0]
329329
sdk_productVersion = winreg.QueryValueEx(SDKKey, 'ProductVersion')[0]
330330
except WindowsError:
331-
raise RuntimeError("Windows 10 SDK not found")
331+
raise RuntimeError("Windows 11 SDK not found")
332332
# The Universal CRT should be in an SDK version-specific directory
333333
# But usually has a '.0' appended after the productVersion found in the registry.
334-
# E.g. 10.0.1941 might e actually 10.0.1941.0.
334+
# E.g. 10.0.22000 might be actually 10.0.22000.0.
335335
# Thus try both.
336336
CRTDir = os.path.join(sdk_installationFolder, "Redist", sdk_productVersion+".0", "ucrt", "DLLs", "x86")
337337
if not os.path.isdir(CRTDir):

source/winVersion.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
19044: "Windows 10 21H2",
3535
20348: "Windows Server 2022",
3636
22000: "Windows 11 21H2",
37+
22621: "Windows 11 22H2",
3738
}
3839

3940

@@ -154,6 +155,7 @@ def __ge__(self, other):
154155
WIN10_21H2 = WinVersion(major=10, minor=0, build=19044)
155156
WINSERVER_2022 = WinVersion(major=10, minor=0, build=20348)
156157
WIN11 = WIN11_21H2 = WinVersion(major=10, minor=0, build=22000)
158+
WIN11_22H2 = WinVersion(major=10, minor=0, build=22621)
157159

158160

159161
@functools.lru_cache(maxsize=1)

0 commit comments

Comments
 (0)