From bf4578f0a8cf1df52699ddec0e303465a371482b Mon Sep 17 00:00:00 2001 From: 13xforever Date: Wed, 14 Jun 2023 15:17:33 +0500 Subject: [PATCH] deprecate win10 21h2 --- .../LogParserResultFormatter.GeneralNotesSection.cs | 2 +- CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.GeneralNotesSection.cs b/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.GeneralNotesSection.cs index 3e0b2f69..cc660e1b 100644 --- a/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.GeneralNotesSection.cs +++ b/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.GeneralNotesSection.cs @@ -257,7 +257,7 @@ internal static partial class LogParserResult if (items["os_type"] == "Windows" && Version.TryParse(items["os_version"], out var winVersion) - && (winVersion is { Major: < 10 } or { Build: < 19044 or (> 20000 and < 22000) })) + && (winVersion is { Major: < 10 } or { Build: < 19045 or (> 20000 and < 22000) })) notes.Add("⚠️ Please [upgrade your Windows](https://www.microsoft.com/en-us/software-download/windows11) to currently supported version"); var gpuInfo = items["gpu_info"] ?? items["discrete_gpu_info"]; diff --git a/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs b/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs index b62fec8f..e8641675 100644 --- a/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs +++ b/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs @@ -837,8 +837,8 @@ internal static partial class LogParserResult < 19041 => "10 20H1 Build " + windowsVersion.Build, 19041 => "10 2004", 19042 => "10 20H2", - 19043 => "10 21H1", // deprecated - 19044 => "10 21H2", + 19043 => "10 21H1", + 19044 => "10 21H2", // deprecated 19045 => "10 22H2", < 21390 => "10 Dev Build " + windowsVersion.Build,