Merge pull request #841 from clienthax/bump

Bump windows supported build check.
This commit is contained in:
clienthax 2022-01-07 17:56:57 +00:00 committed by GitHub
commit 5f47721084
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -249,7 +249,7 @@ namespace CompatBot.Utils.ResultFormatters
if (items["os_type"] == "Windows"
&& Version.TryParse(items["os_version"], out var winVersion)
&& (winVersion.Major < 10 || winVersion.Build < 19041))
&& (winVersion.Major < 10 || winVersion.Build < 19042))
notes.Add("⚠ Please [upgrade your Windows](https://www.microsoft.com/software-download/windows10) to currently supported version");
var gpuInfo = items["gpu_info"] ?? items["discrete_gpu_info"];