Add environment variable for viktor's plugins
All checks were successful
Build / Build Launcher (push) Successful in 3m5s

This commit is contained in:
2024-10-14 14:16:12 -04:00
parent bd63575630
commit c7757a2279

View File

@@ -34,6 +34,9 @@ public class Launcher : IDisposable
public void Initialize(string[] args) public void Initialize(string[] args)
{ {
//environment variable for viktor's plugins
Environment.SetEnvironmentVariable("SE_PLUGIN_DISABLE_METHOD_VERIFICATION", "True");
// early init for plugin loader // early init for plugin loader
ProtoBuf.Meta.RuntimeTypeModel.Create(true); ProtoBuf.Meta.RuntimeTypeModel.Create(true);
_harmony.PatchAll(typeof(Launcher).Assembly); _harmony.PatchAll(typeof(Launcher).Assembly);