Adds a new section "Scripting" in the server UI where PowerShell modules can be defined. These can be used for defining a library of functions that can be used in any script. These modules are automatically synced to the launcher and imported upon script execution.
14 lines
605 B
C#
14 lines
605 B
C#
namespace LANCommander.Server.Models
|
|
{
|
|
public class ModuleManifest
|
|
{
|
|
public string RootModule { get; set; } = string.Empty;
|
|
public string ModuleVersion { get; set; } = "1.0.0";
|
|
public string Guid { get; set; } = System.Guid.NewGuid().ToString();
|
|
public string Author { get; set; } = string.Empty;
|
|
public string CompanyName { get; set; } = string.Empty;
|
|
public string Copyright { get; set; } = string.Empty;
|
|
public string Description { get; set; } = string.Empty;
|
|
public string PowerShellVersion { get; set; } = string.Empty;
|
|
}
|
|
}
|