aboutsummaryrefslogtreecommitdiff
path: root/launcher/Application.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/Application.cpp')
-rw-r--r--launcher/Application.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/launcher/Application.cpp b/launcher/Application.cpp
index 5f70ab94..537ffb68 100644
--- a/launcher/Application.cpp
+++ b/launcher/Application.cpp
@@ -1547,7 +1547,10 @@ QString Application::getJarPath(QString jarFile)
FS::PathCombine(m_rootPath, "share/" + BuildConfig.LAUNCHER_APP_BINARY_NAME),
#endif
FS::PathCombine(m_rootPath, "jars"),
- FS::PathCombine(applicationDirPath(), "jars")
+ FS::PathCombine(applicationDirPath(), "jars"),
+#if !defined(NDEBUG)
+ FS::PathCombine(applicationDirPath(), "..", "jars") // from inside build dir , for debuging
+#endif
};
for(QString p : potentialPaths)
{