even though we will probably never run on XP, this silences CA1416

This commit is contained in:
Yaakov
2024-08-27 20:26:19 +10:00
parent b1a36462cc
commit fa486d1e5f

View File

@@ -22,7 +22,7 @@ namespace DepotDownloader
{
PrintUsage();
if (OperatingSystem.IsWindows())
if (OperatingSystem.IsWindowsVersionAtLeast(5, 0))
{
PlatformUtilities.VerifyConsoleLaunch();
}