update windows version mappings

This commit is contained in:
13xforever 2024-06-20 12:12:11 +05:00 committed by Haxy
parent 504881ba01
commit c37e3351d7

View File

@ -889,6 +889,7 @@ internal static partial class LogParserResult
>= 20 and < 40 => driverVer.Major switch
{
// see https://en.wikipedia.org/wiki/Windows_Display_Driver_Model#WDDM_2.0
// and https://learn.microsoft.com/en-us/windows-hardware/drivers/display/windows-vista-display-driver-model-design-guide
20 => "10",
21 => "10 1607",
22 => "10 1703",
@ -901,6 +902,7 @@ internal static partial class LogParserResult
29 => "10 21H1",
30 => "11 21H2",
31 => "11 22H2",
32 => "11 24H2",
_ => null,
},
_ => null,
@ -964,6 +966,7 @@ internal static partial class LogParserResult
< 26052 => "11 Canary Build " + windowsVersion.Build, // 25k series
26100 => "11 24H2",
< 26120 => "11 Dev/Canary Build " + windowsVersion.Build, // dev/canary merge branch before 24H2
26120 => "11 24H2 Dev Build",
<27000 => "11 Canary Build " + windowsVersion.Build,
_ => "11 ??? Build " + windowsVersion.Build,
},