From c8406a5994d7febedfbda8353dd98ba98d9e5872 Mon Sep 17 00:00:00 2001 From: Sandeep Thakkar Date: Fri, 6 May 2016 15:53:00 +0100 Subject: [PATCH] Fix the runtime search path when running in a Mac App Bundle --- runtime/Server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/Server.cpp b/runtime/Server.cpp index 7730184ba..d25c7bfe3 100644 --- a/runtime/Server.cpp +++ b/runtime/Server.cpp @@ -85,7 +85,7 @@ bool Server::Init() QStringList paths; paths.append("../web/"); // Linux source tree paths.append("../../web/"); // Windows source tree - paths.append("../../../../web/"); // Mac source tree (in the app bundle) + paths.append("../Resources/web/"); // Mac source tree (in the app bundle) paths.append(settings.value("ApplicationPath").toString()); // System configured value paths.append(""); // Should be last!