Skip to content

Commit 61e099c

Browse files
committed
update windows version check
1 parent d2f8fa2 commit 61e099c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

CompatBot/Utils/ResultFormatters/LogParserResultFormatter.GeneralNotesSection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ private static async ValueTask BuildNotesSectionAsync(DiscordEmbedBuilder builde
280280

281281
if (items["os_type"] is "Windows"
282282
&& Version.TryParse(items["os_version"], out var winVersion)
283-
&& (winVersion is { Major: < 10 } or { Build: <19045 or (>20000 and <22621) }))
283+
&& winVersion is { Major: < 11 } or { Build: <22631 })
284284
notes.Add("⚠️ Please [upgrade your Windows](https://www.microsoft.com/en-us/software-download/windows11) to currently supported version");
285285
if (items["os_type"] is "MacOS" && Version.TryParse(items["os_version"], out var macVersion))
286286
{

CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,16 +1018,16 @@ select m
10181018
19041 => "10 2004",
10191019
19042 => "10 20H2",
10201020
19043 => "10 21H1",
1021-
19044 => "10 21H2", // deprecated
1022-
19045 => "10 22H2",
1021+
19044 => "10 21H2",
1022+
19045 => "10 22H2", // deprecated
10231023

10241024
< 21390 => "10 Dev Build " + windowsVersion.Build,
10251025
21390 => "10 21H2 Insider",
10261026
< 22000 => "11 Internal Build " + windowsVersion.Build,
1027-
22000 => "11 21H2", // deprecated
1027+
22000 => "11 21H2",
10281028
< 22621 => "11 22H2 Insider Build " + windowsVersion.Build,
1029-
22621 => "11 22H2",
1030-
22631 => "11 23H2",
1029+
22621 => "11 22H2", // deprecated
1030+
22631 => "11 23H2", // nov 11, 2025
10311031
< 23000 => "11 Beta Build " + windowsVersion.Build, // 22k series
10321032
< 24000 => "11 Dev Build " + windowsVersion.Build, // 23k series
10331033
< 25000 => "11 ??? Build " + windowsVersion.Build,

0 commit comments

Comments
 (0)