Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WinVersion: introduce winVersion.getWinVerFromVersionText function. Re …
…nvaccess#11837. winversion.getWinVerFromVersionText function can be used to construct WinVersion class instance from the Windows version string of the form major.minor.build i.e. '10.0.19041' will return a WinVersion class instance with major=10, minor=0, build=19041. This is the text counterpart to getWinVer function and is meant to prepare for a future scenario where an add-on or other NVDA components can perform actions based on a specific version text given.
- Loading branch information