#include #include using namespace hex; class PluginLoader { public: PluginLoader() { for (const auto &dir : fs::getDefaultPaths(fs::ImHexPath::Plugins)) { PluginManager::addLoadPath(dir); } PluginManager::load(); } }; static PluginLoader pluginLoader;