mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
fix: Remove last remaining getDefaultPaths
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
#include <hex/api/plugin_manager.hpp>
|
||||
|
||||
#include <hex/helpers/utils.hpp>
|
||||
#include <hex/helpers/default_paths.hpp>
|
||||
|
||||
|
||||
using namespace hex;
|
||||
class PluginLoader {
|
||||
public:
|
||||
PluginLoader() {
|
||||
for (const auto &dir : fs::getDefaultPaths(fs::ImHexPath::Plugins)) {
|
||||
for (const auto &dir : paths::Plugins.read()) {
|
||||
PluginManager::addLoadPath(dir);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user