fix: Loading of plugins and localizations after restart

This commit is contained in:
WerWolv
2023-07-22 18:38:14 +02:00
parent a99f8f78d0
commit 8aec382440
4 changed files with 17 additions and 10 deletions

View File

@@ -419,6 +419,11 @@ namespace hex::init {
}
bool loadPlugins() {
// Load all plugins
for (const auto &dir : fs::getDefaultPaths(fs::ImHexPath::Plugins)) {
PluginManager::load(dir);
}
// Get loaded plugins
auto &plugins = PluginManager::getPlugins();