diff options
author | saturneric <[email protected]> | 2024-12-03 08:13:38 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-12-03 08:14:19 +0000 |
commit | 78b1b78772014e4d24590d2be46d582b6aa79036 (patch) | |
tree | deeac376b6551a3d82b59f024f62bf6034930956 /src/core/module/ModuleInit.cpp | |
parent | fix: devops configs for qt5 on windows (diff) | |
download | GpgFrontend-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.cpp | 9 |
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 |