FF-1698: C# scripts!

This commit is contained in:
John Andrews
2024-08-03 10:46:07 +12:00
parent d20f750048
commit ed3c6f8afa
5 changed files with 8 additions and 8 deletions

View File

@@ -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 />

View File

@@ -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 />

View File

@@ -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";

View File

@@ -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";

View File

@@ -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",