Browse Source

Moved the debug write of generated assembly

pull/46/head
Anairkoen Schno 4 years ago
parent
commit
b40a8e3b02
2 changed files with 5 additions and 4 deletions
  1. +5
    -0
      IPA.Injector/Injector.cs
  2. +0
    -4
      IPA.Loader/Loader/PluginComponent.cs

+ 5
- 0
IPA.Injector/Injector.cs View File

@ -305,6 +305,11 @@ namespace IPA.Injector
/*if (otherNewtonsoftJson != null)
Assembly.LoadFrom(otherNewtonsoftJson);*/
#if DEBUG
Config.Stores.GeneratedStore.DebugSaveAssembly("GeneratedAssembly.dll");
#endif
Application.logMessageReceived += delegate (string condition, string stackTrace, LogType type)
{
var level = UnityLogRedirector.LogTypeToLevel(type);


+ 0
- 4
IPA.Loader/Loader/PluginComponent.cs View File

@ -78,10 +78,6 @@ namespace IPA.Loader
ConfigRuntime.SaveAll();
#if DEBUG
Config.Stores.GeneratedStore.DebugSaveAssembly("GeneratedAssembly.dll");
#endif
quitting = true;
}


Loading…
Cancel
Save