From 78b1b78772014e4d24590d2be46d582b6aa79036 Mon Sep 17 00:00:00 2001 From: saturneric Date: Tue, 3 Dec 2024 09:13:38 +0100 Subject: fix: integrated modules loading path --- src/core/module/ModuleInit.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/core/module/ModuleInit.cpp') 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 { #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 -- cgit v1.2.3