using FileFlows.Plugin; namespace FileFlows.BasicNodes.SystemElements; /// /// A flow to determine if this is running on windows or not /// public class IsWindows : Node { /// public override int Inputs => 1; /// public override int Outputs => 2; /// public override FlowElementType Type => FlowElementType.Logic; /// public override string Group => "System"; /// public override string Icon => "fab fa-windows"; /// public override string HelpUrl => "https://fileflows.com/docs/plugins/basic-nodes/system/is-windows"; /// public override string CustomColor => "#2481e4"; /// public override int Execute(NodeParameters args) => OperatingSystem.IsWindows() ? 1 : 2; }