1 new commit in wintenApps:
https://bitbucket.org/nvdaaddonteam/wintenapps/commits/7203a0a21418/
Changeset: 7203a0a21418
Branch: stable
User: josephsl
Date: 2019-09-01 22:43:19+00:00
Summary: WinTenObjs: use build branch key to detect Version 1909 (19H2)
builds.
Thanks to adjustments in release preview, builds 18362.xxxxx and 18363 are now
19H2 builds. One thing they have in common is the presence of '19h2' flag in
build branch name. Thus use this information to detect and record 19H2 builds.
Affected #: 1 file
diff --git a/addon/globalPlugins/wintenObjs/__init__.py
b/addon/globalPlugins/wintenObjs/__init__.py
index fd55ea8..04687d8 100755
--- a/addon/globalPlugins/wintenObjs/__init__.py
+++ b/addon/globalPlugins/wintenObjs/__init__.py
@@ -172,9 +172,9 @@ class GlobalPlugin(globalPluginHandler.GlobalPlugin):
try: import winreg #Python 3
except: import _winreg as winreg #Python 2
currentVersion =
winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, "Software\Microsoft\Windows
NT\CurrentVersion")
- ubr = winreg.QueryValueEx(currentVersion, "UBR")[0]
#UBR = Update Build Revision
+ branch = winreg.QueryValueEx(currentVersion,
"BuildBranch")[0]
winreg.CloseKey(currentVersion)
- if ubr >= 10000:
+ if "19h2" in branch:
log.info("W10: Windows 10 Version 19H2
detected")
def chooseNVDAObjectOverlayClasses(self, obj, clsList):
Repository URL: https://bitbucket.org/nvdaaddonteam/wintenapps/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.