From e3df0b8c60ddc75e574344d5e811862fb76e5586 Mon Sep 17 00:00:00 2001 From: saturneric Date: Tue, 30 Apr 2024 19:13:28 +0200 Subject: fix: can not find mods on macos platform --- src/core/module/ModuleInit.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/core/module/ModuleInit.cpp') diff --git a/src/core/module/ModuleInit.cpp b/src/core/module/ModuleInit.cpp index 8a7516a1..ceb5987e 100644 --- a/src/core/module/ModuleInit.cpp +++ b/src/core/module/ModuleInit.cpp @@ -53,8 +53,10 @@ auto LoadIntegratedMods() -> bool { auto exec_binary_path = QCoreApplication::applicationDirPath(); #if defined(MACOS) && defined(RELEASE) - auto mods_path = exec_binary_path + "../PlugIns/mods"; + // App Bundle + auto mods_path = exec_binary_path + "/../PlugIns/mods"; #else + // Debug Or Windows Platform auto mods_path = exec_binary_path + "/mods"; #endif -- cgit v1.2.3