Plugins: Add additional internal load options

This commit is contained in:
Katy Coe
2021-01-12 15:31:24 +01:00
parent c56bd26e4b
commit 356836e6e4
2 changed files with 17 additions and 7 deletions

View File

@@ -51,8 +51,13 @@ namespace Il2CppInspector
loadOptions.BinaryFilePath = testFile;
// Set up plugins - place desired plugins in 'plugins' sub-folder of test folder
PluginManager.Reload(testPath + @"\plugins");
// Load core plugins
PluginManager.Reload(testPath + @"\..\plugins", coreOnly: true);
// Set up additional plugins - place desired plugins in 'plugins' sub-folder of test folder
try {
PluginManager.Reload(testPath + @"\plugins", reset: false);
} catch (DirectoryNotFoundException) { }
// Handlers for debugging output
PluginManager.StatusHandler += (s, e) => {