From 1785088456afc42ffc20916ba84c53785204f679 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Fri, 17 Jun 2022 10:23:28 +0200 Subject: [PATCH] fix: MacOS looking for plugins in wrong folder inside of bundle Hopefully addresses #539 --- lib/libimhex/source/helpers/fs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libimhex/source/helpers/fs.cpp b/lib/libimhex/source/helpers/fs.cpp index bbd8e641e..9747b2841 100644 --- a/lib/libimhex/source/helpers/fs.cpp +++ b/lib/libimhex/source/helpers/fs.cpp @@ -188,7 +188,7 @@ namespace hex::fs { std::vector paths = { applicationSupportDir }; if (exePath) - paths.push_back(exePath->parent_path()); + paths.push_back(exePath); switch (path) { case ImHexPath::Patterns: