diff options
Diffstat (limited to 'src')
-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 |