Add environment variable for viktor's plugins
All checks were successful
Build / Build Launcher (push) Successful in 3m5s
All checks were successful
Build / Build Launcher (push) Successful in 3m5s
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user