fix: let jars be found from inside build dir for debug builds
debug bug builds run form inside the build dir before they are bundled can't find the jars Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
parent
16477a8f6c
commit
c45fa016c0
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user