LANCommander/LANCommander.Server.Settings/Models/ScriptSettings.cs
Pat Hartl f87756243e Add support for defining PowerShell modules
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.
2026-06-28 23:02:35 -05:00

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();
}