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.
8 lines
186 B
C#
8 lines
186 B
C#
using LANCommander.SDK;
|
|
|
|
namespace LANCommander.Server.Settings.Models;
|
|
|
|
public class ModuleSettings
|
|
{
|
|
public string StoragePath { get; set; } = AppPaths.GetConfigPath("Modules");
|
|
}
|