fix addons search path

This commit is contained in:
Eduardo Bart 2012-06-06 19:39:42 -03:00
parent 70ea0361b6
commit e698383538
1 changed files with 1 additions and 1 deletions

View File

@ -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