using System.Runtime.InteropServices; namespace Velopack.CommandLine.Tests; public class WindowsOnlyTheoryAttribute : TheoryAttribute { public WindowsOnlyTheoryAttribute() { if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) { Skip = "Only run on Windows"; } } }