diff options
author | saturneric <[email protected]> | 2024-04-30 17:13:28 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-04-30 17:13:28 +0000 |
commit | e3df0b8c60ddc75e574344d5e811862fb76e5586 (patch) | |
tree | 3a8775a8c4e0b44c31a79d8fcefe5ac2c5ce48ec | |
parent | feat: improve functions and ui on module (diff) | |
download | GpgFrontend-e3df0b8c60ddc75e574344d5e811862fb76e5586.tar.gz GpgFrontend-e3df0b8c60ddc75e574344d5e811862fb76e5586.zip |
fix: can not find mods on macos platform
-rw-r--r-- | src/core/module/ModuleInit.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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 |