forked from organicmaps/organicmaps
[linux] be less specific about /usr prefix
This commit is contained in:
parent
5806cfd6cb
commit
051d25e260
1 changed files with 2 additions and 2 deletions
|
@ -66,8 +66,8 @@ Platform::Platform()
|
|||
else if (IsFileExistsByFullPath(path + "../share/eula.html"))
|
||||
m_resourcesDir = path + "../share";
|
||||
// installed version
|
||||
else if (IsFileExistsByFullPath("/usr/share/MapsWithMe/eula.html"))
|
||||
m_resourcesDir = "/usr/share/MapsWithMe";
|
||||
else if (IsFileExistsByFullPath(path + "../share/MapsWithMe/eula.html"))
|
||||
m_resourcesDir = path + "../share/MapsWithMe";
|
||||
// all-nearby installs
|
||||
else if (IsFileExistsByFullPath(path + "/eula.html"))
|
||||
m_resourcesDir = path;
|
||||
|
|
Loading…
Add table
Reference in a new issue