Merge pull request #781 from Ryex/patch-1

This commit is contained in:
flow
2023-01-24 11:15:33 -08:00
committed by Sefa Eyeoglu
parent 92f6a34624
commit 4827f7e317

View File

@ -1525,7 +1525,8 @@ 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"),
FS::PathCombine(applicationDirPath(), "..", "jars") // from inside build dir, for debuging
};
for(QString p : potentialPaths)
{