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.
11 lines
No EOL
336 B
C#
11 lines
No EOL
336 B
C#
using LANCommander.SDK;
|
|
|
|
namespace LANCommander.Server.Settings.Models;
|
|
|
|
public class ScriptSettings
|
|
{
|
|
public bool EnableAutomaticRepackaging { get; set; } = false;
|
|
public int RepackageEvery { get; set; } = 24;
|
|
public SnippetSettings Snippets { get; set; } = new();
|
|
public ModuleSettings Modules { get; set; } = new();
|
|
} |