[PTRun]Don't apply title bar fix to Windows build 22000 to avoid crash (#33687)

This commit is contained in:
Clint Rutkas
2024-07-11 03:34:17 -07:00
committed by GitHub
parent 24bed6f0bb
commit 7b37eba0f9
3 changed files with 9 additions and 2 deletions

View File

@@ -12,5 +12,10 @@ namespace Common.UI
{
return Environment.OSVersion.Version.Major >= 10 && Environment.OSVersion.Version.Build >= 22000;
}
public static bool IsGreaterThanWindows11_21H2()
{
return Environment.OSVersion.Version.Major >= 10 && Environment.OSVersion.Version.Build > 22000;
}
}
}