-
Notifications
You must be signed in to change notification settings - Fork 392
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add OS detection for Windows 11 and Server 2022
The update to Windows 11 does not increment the major version, so we detect using other info such as CurrentBuild number. Also use CurrentBuild number to detect Server 2016 and 2019 instead of ReleaseId. Signed-off-by: Mike Zhang <mike.h.zhang@ibm.com>
- Loading branch information
1 parent
8d10f06
commit 5f4fee6
Showing
1 changed file
with
43 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters