add support to detect the BuildID of Windows 10 22H2

This commit is contained in:
Axel Kohlmeyer 2022-10-27 12:43:14 -04:00
parent 5824534ac6
commit a66f411edc
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 2 additions and 0 deletions

View File

@ -229,6 +229,8 @@ std::string platform::os_info()
buf = "Windows 10 21H1";
} else if (build == "19044") {
buf = "Windows 10 21H2";
} else if (build == "19045") {
buf = "Windows 10 22H2";
} else if (build == "20348") {
buf = "Windows Server 2022";
} else if (build == "22000") {