fix: Remove last remaining getDefaultPaths

This commit is contained in:
WerWolv
2024-06-22 12:57:09 +02:00
parent 24621e6612
commit b93fd523aa
2 changed files with 5 additions and 2 deletions

View File

@@ -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);
}