mirror of
https://github.com/RPCS3/discord-bot.git
synced 2026-01-31 01:25:22 +01:00
fix windows version check
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user