aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/module/ModuleInit.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-12-03 08:13:38 +0000
committersaturneric <[email protected]>2024-12-03 08:14:19 +0000
commit78b1b78772014e4d24590d2be46d582b6aa79036 (patch)
treedeeac376b6551a3d82b59f024f62bf6034930956 /src/core/module/ModuleInit.cpp
parentfix: devops configs for qt5 on windows (diff)
downloadGpgFrontend-78b1b78772014e4d24590d2be46d582b6aa79036.tar.gz
GpgFrontend-78b1b78772014e4d24590d2be46d582b6aa79036.zip
fix: integrated modules loading path
Diffstat (limited to 'src/core/module/ModuleInit.cpp')
-rw-r--r--src/core/module/ModuleInit.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/core/module/ModuleInit.cpp b/src/core/module/ModuleInit.cpp
index a5459882..321f322e 100644
--- a/src/core/module/ModuleInit.cpp
+++ b/src/core/module/ModuleInit.cpp
@@ -64,13 +64,18 @@ auto LoadIntegratedMods() -> QMap<QString, bool> {
#endif
#if defined(_WIN32) || defined(WIN32)
+
+#ifdef NDEBUG
+ mods_path = exec_binary_path + "/../modules";
+#else
mods_path = exec_binary_path + "/../modules/bin";
#endif
-#ifdef NDEBUG
+#endif
#if defined(__APPLE__) && defined(__MACH__)
- // App Bundle
+
+#ifdef NDEBUG
mods_path = exec_binary_path + "/../Modules";
#endif