mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
impr: Further improve interfacing with external plugins
This commit is contained in:
@@ -124,12 +124,9 @@ namespace hex::plugin::builtin {
|
||||
|
||||
std::exit(EXIT_SUCCESS);
|
||||
} else {
|
||||
TaskManager::doLater([args] {
|
||||
for (const auto &arg : args) {
|
||||
PluginManager::load(reinterpret_cast<const char8_t*>(arg.c_str()));
|
||||
}
|
||||
PluginManager::initializeNewPlugins();
|
||||
});
|
||||
for (const auto &arg : args) {
|
||||
PluginManager::addLoadPath(reinterpret_cast<const char8_t*>(arg.c_str()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user