mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-08-21 04:12:56 +00:00
Add plugin factory initialization logs
This commit is contained in:
parent
49d6b8cf60
commit
3cf3f2d817
@ -27,6 +27,7 @@ public static partial class PluginFactory
|
|||||||
if(IS_INITIALIZED)
|
if(IS_INITIALIZED)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
LOG.LogInformation("Initializing plugin factory...");
|
||||||
DATA_DIR = SettingsManager.DataDirectory!;
|
DATA_DIR = SettingsManager.DataDirectory!;
|
||||||
PLUGINS_ROOT = Path.Join(DATA_DIR, "plugins");
|
PLUGINS_ROOT = Path.Join(DATA_DIR, "plugins");
|
||||||
INTERNAL_PLUGINS_ROOT = Path.Join(PLUGINS_ROOT, ".internal");
|
INTERNAL_PLUGINS_ROOT = Path.Join(PLUGINS_ROOT, ".internal");
|
||||||
@ -37,7 +38,7 @@ public static partial class PluginFactory
|
|||||||
|
|
||||||
HOT_RELOAD_WATCHER = new(PLUGINS_ROOT);
|
HOT_RELOAD_WATCHER = new(PLUGINS_ROOT);
|
||||||
IS_INITIALIZED = true;
|
IS_INITIALIZED = true;
|
||||||
|
LOG.LogInformation("Plugin factory initialized successfully.");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user