mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 13:01:42 +00:00
Fixed: Right directory under OS X
--HG-- branch : develop
This commit is contained in:
parent
7d9a8b28c8
commit
27ae7dddf0
1 changed files with 1 additions and 1 deletions
|
@ -635,7 +635,7 @@ static void addPaths(IProgressCallback &progress, const std::vector<std::string>
|
||||||
directoryPrefixes.push_back(CPath::standardizePath(getAppBundlePath() + "/Contents/Resources"));
|
directoryPrefixes.push_back(CPath::standardizePath(getAppBundlePath() + "/Contents/Resources"));
|
||||||
|
|
||||||
// check in same directory as bundle (Steam)
|
// check in same directory as bundle (Steam)
|
||||||
directoryPrefixes.push_back(CPath::standardizePath(getAppBundlePath()));
|
directoryPrefixes.push_back(CPath::standardizePath(getAppBundlePath() + "/.."));
|
||||||
#elif defined(NL_OS_UNIX)
|
#elif defined(NL_OS_UNIX)
|
||||||
if (CFile::isDirectory(getRyzomSharePrefix())) directoryPrefixes.push_back(CPath::standardizePath(getRyzomSharePrefix()));
|
if (CFile::isDirectory(getRyzomSharePrefix())) directoryPrefixes.push_back(CPath::standardizePath(getRyzomSharePrefix()));
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue