Browse Source

Moved Debug assembly save

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

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

@ -334,10 +334,6 @@ namespace IPA.Injector
log.Debug("Plugins loaded"); log.Debug("Plugins loaded");
log.Debug(string.Join(", ", PluginLoader.PluginsMetadata.StrJP())); log.Debug(string.Join(", ", PluginLoader.PluginsMetadata.StrJP()));
PluginComponent.Create(); PluginComponent.Create();
#if DEBUG
Config.Stores.GeneratedStoreImpl.DebugSaveAssembly("GeneratedAssembly.dll");
#endif
} }
} }
} }

+ 5
- 1
IPA.Loader/Loader/PluginComponent.cs View File

@ -53,7 +53,11 @@ namespace IPA.Loader
if (!unitySched.IsRunning) if (!unitySched.IsRunning)
StartCoroutine(unitySched.Coroutine()); StartCoroutine(unitySched.Coroutine());
initialized = true;
initialized = true;
#if DEBUG
Config.Stores.GeneratedStoreImpl.DebugSaveAssembly("GeneratedAssembly.dll");
#endif
} }
} }


Loading…
Cancel
Save