fix addons search path
This commit is contained in:
parent
70ea0361b6
commit
e698383538
|
@ -83,7 +83,7 @@ void ModuleManager::discoverModulesPath()
|
|||
std::string possibleAddonsDirs[] = { "addons",
|
||||
g_resources.getBaseDir() + "addons",
|
||||
g_resources.getBaseDir() + "../addons",
|
||||
g_resources.getBaseDir() + "../addons/" + g_app->getName() + "/modules",
|
||||
g_resources.getBaseDir() + "../share/" + g_app->getName() + "/addons",
|
||||
"" };
|
||||
for(const std::string& dir : possibleAddonsDirs) {
|
||||
// try to add module directory
|
||||
|
|
Loading…
Reference in New Issue