mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2026-02-12 01:19:55 -06:00
FF-1698: C# scripts!
This commit is contained in:
@@ -13,7 +13,7 @@ namespace FileFlows.BasicNodes.Scripting;
|
||||
public class BatScript : ScriptBase
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public override string Icon => "svg:bat";
|
||||
public override string Icon => "svg:dos";
|
||||
/// <inheritdoc />
|
||||
public override string HelpUrl => "https://fileflows.com/docs/plugins/basic-nodes/bat-script";
|
||||
/// <inheritdoc />
|
||||
|
||||
@@ -15,7 +15,7 @@ public class Function : Node
|
||||
/// <inheritdoc />
|
||||
public override FlowElementType Type => FlowElementType.Logic;
|
||||
/// <inheritdoc />
|
||||
public override string Icon => "fas fa-code";
|
||||
public override string Icon => "svg:javascript";
|
||||
/// <inheritdoc />
|
||||
public override bool FailureNode => true;
|
||||
/// <inheritdoc />
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace FileFlows.BasicNodes.Scripting;
|
||||
public class PowerShellScript : ScriptBase
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public override string Icon => "svg:ps1";
|
||||
public override string Icon => "svg:powershell";
|
||||
/// <inheritdoc />
|
||||
public override string HelpUrl => "https://fileflows.com/docs/plugins/basic-nodes/powershell-script";
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace FileFlows.BasicNodes.Scripting;
|
||||
public class ShellScript : ScriptBase
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public override string Icon => "svg:sh";
|
||||
public override string Icon => "svg:bash";
|
||||
/// <inheritdoc />
|
||||
public override string HelpUrl => "https://fileflows.com/docs/plugins/basic-nodes/shell-script";
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
}
|
||||
},
|
||||
"BatScript": {
|
||||
"Label": "BAT Script",
|
||||
"Label": "Batch (.bat)",
|
||||
"Description": "Allows you to execute a batch (.bat) script in a Windows environment.",
|
||||
"Outputs": {
|
||||
"1": "returned 1",
|
||||
@@ -41,7 +41,7 @@
|
||||
}
|
||||
},
|
||||
"CSharpScript": {
|
||||
"Label": "C# Script",
|
||||
"Label": "C# Function",
|
||||
"Description": "Allows you to execute a C# code inside the Flow.",
|
||||
"Outputs": {
|
||||
"1": "returned 1",
|
||||
@@ -60,7 +60,7 @@
|
||||
}
|
||||
},
|
||||
"ShellScript": {
|
||||
"Label": "Shell Script",
|
||||
"Label": "Shell (.sh))",
|
||||
"Description": "Allows you to execute a shell (.sh) script in a Unix-like environment.",
|
||||
"Outputs": {
|
||||
"1": "returned 1",
|
||||
@@ -79,7 +79,7 @@
|
||||
}
|
||||
},
|
||||
"PowerShellScript": {
|
||||
"Label": "PowerShell Script",
|
||||
"Label": "PowerShell (.ps1)",
|
||||
"Description": "Allows you to execute a PowerShell (.ps1) script in a Windows environment.",
|
||||
"Outputs": {
|
||||
"1": "returned 1",
|
||||
|
||||
Reference in New Issue
Block a user