Added "RunUnrestricted" mode for lua scripts that need to run outside of sandbox.

This commit is contained in:
MapleWheels
2026-04-13 15:36:11 -04:00
parent a2c67f7af5
commit 38f0055b74
7 changed files with 20 additions and 8 deletions
@@ -174,7 +174,8 @@ public sealed partial class ModConfigFileParserService :
RequiredPackages = src.Required,
IncompatiblePackages = src.Incompatible,
// Type Specific
IsAutorun = src.Element.GetAttributeBool("IsAutorun", false)
IsAutorun = src.Element.GetAttributeBool("IsAutorun", false),
RunUnrestricted = src.Element.GetAttributeBool("RunUnrestricted", false)
};
}