Skip to content

Commit

Permalink
fix: can not find mods on macos platform
Browse files Browse the repository at this point in the history
  • Loading branch information
saturneric committed Apr 30, 2024
1 parent 3d2ab7c commit e3df0b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/module/ModuleInit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e3df0b8

Please sign in to comment.