Working plugin loader

This commit is contained in:
2025-12-11 22:44:00 +01:00
parent d2fe5d9d62
commit 5e2e819a94
2 changed files with 6 additions and 3 deletions
+4
View File
@@ -67,6 +67,10 @@ impl Server {
}
pub fn run(self: &Arc<Self>) -> crate::Result<()> {
// Start plugin loader
Self::LOGGER.info("Starting loader");
self.plugin_loader.start_server();
// Load plugins
Self::LOGGER.info("Loading plugins");
for entry in fs::read_dir(self.root.join("plugins"))? {