fix windows version check

This commit is contained in:
13xforever
2025-10-15 09:07:05 +05:00
parent 61e099cb76
commit 880048eeee

View File

@@ -280,7 +280,7 @@ internal static partial class LogParserResult
if (items["os_type"] is "Windows"
&& Version.TryParse(items["os_version"], out var winVersion)
&& winVersion is { Major: < 11 } or { Build: <22631 })
&& winVersion is { Major: <10 } or { Major: 10, Build: <22631 })
notes.Add("⚠️ Please [upgrade your Windows](https://www.microsoft.com/en-us/software-download/windows11) to currently supported version");
if (items["os_type"] is "MacOS" && Version.TryParse(items["os_version"], out var macVersion))
{