From f4e13f9b43c562d265bc145e3f7442f4c7dd8210 Mon Sep 17 00:00:00 2001 From: Alexander Borsuk Date: Wed, 17 Mar 2021 18:30:14 +0100 Subject: [PATCH] Fixed paths to resources for desktop version Signed-off-by: Alexander Borsuk --- platform/platform_mac.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/platform_mac.mm b/platform/platform_mac.mm index f9cd45ccaa..b1c9544598 100644 --- a/platform/platform_mac.mm +++ b/platform/platform_mac.mm @@ -61,13 +61,13 @@ Platform::Platform() m_resourcesDir = resourcesPath + "/"; // get writable path // developers can have symlink to data folder - char const * dataPath = "../../../../../data/"; + char const * dataPath = "../../../data/"; if (IsFileExistsByFullPath(m_resourcesDir + dataPath)) m_writableDir = m_resourcesDir + dataPath; else { // Check development environment without symlink but with git repo - dataPath = "../../../../../../omim/data/"; + dataPath = "../../../../omim/data/"; if (IsFileExistsByFullPath(m_resourcesDir + dataPath)) m_writableDir = m_resourcesDir + dataPath; if (m_writableDir.empty())