From a5bb65c4680e6f6dc6c93da58c5bd0d2e945fd73 Mon Sep 17 00:00:00 2001 From: Dave Page Date: Tue, 10 May 2016 16:38:28 +0100 Subject: [PATCH] Search path for the runtime when running in a Mac dev env. --- runtime/Server.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/Server.cpp b/runtime/Server.cpp index d25c7bfe3..8691224c6 100644 --- a/runtime/Server.cpp +++ b/runtime/Server.cpp @@ -85,7 +85,8 @@ bool Server::Init() QStringList paths; paths.append("../web/"); // Linux source tree paths.append("../../web/"); // Windows source tree - paths.append("../Resources/web/"); // Mac source tree (in the app bundle) + paths.append("../../../../web/"); // Mac source tree (in a dev env) + paths.append("../Resources/web/"); // Mac source tree (in a release app bundle) paths.append(settings.value("ApplicationPath").toString()); // System configured value paths.append(""); // Should be last!