Mod: issue #6274: Source code installation failed

This commit is contained in:
wmayer
2022-04-18 12:27:09 +02:00
parent 94c5d89d1f
commit d98aaecbfe
6 changed files with 32 additions and 0 deletions

View File

@@ -1139,6 +1139,16 @@ std::string Application::getResourceDir()
#endif
}
std::string Application::getLibraryDir()
{
#ifdef LIBRARYDIR
std::string path(LIBRARYDIR);
return mConfig["AppHomePath"] + path;
#else
return mConfig["AppHomePath"] + "lib";
#endif
}
std::string Application::getHelpDir()
{
#ifdef DOCDIR