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

pull/530/head
Yaakov 1 year ago
parent b1a36462cc
commit fa486d1e5f

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

Loading…
Cancel
Save