aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/module/ModuleInit.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-11-30 21:56:29 +0000
committersaturneric <[email protected]>2024-11-30 21:56:29 +0000
commitf9106a5ce8c4507fb511a7b53d7e623487312605 (patch)
tree8f542d1da0e60c1ca8e942c6c2a49e92989f932c /src/core/module/ModuleInit.cpp
parentfix: solve discovered issues (diff)
downloadGpgFrontend-f9106a5ce8c4507fb511a7b53d7e623487312605.tar.gz
GpgFrontend-f9106a5ce8c4507fb511a7b53d7e623487312605.zip
feat: improve app structure on windows
Diffstat (limited to 'src/core/module/ModuleInit.cpp')
-rw-r--r--src/core/module/ModuleInit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/module/ModuleInit.cpp b/src/core/module/ModuleInit.cpp
index 972e7025..175d35ad 100644
--- a/src/core/module/ModuleInit.cpp
+++ b/src/core/module/ModuleInit.cpp
@@ -49,8 +49,8 @@ auto SearchModuleFromPath(const QString& mods_path,
}
auto LoadIntegratedMods() -> QMap<QString, bool> {
- const auto exec_binary_path = QCoreApplication::applicationDirPath();
- QString mods_path = exec_binary_path + "/modules";
+ const auto exec_binary_path = GlobalSettingStation::GetInstance().GetAppDir();
+ QString mods_path = exec_binary_path + "/../modules";
#ifdef NDEBUG