fix: make jars path specific to prism

Signed-off-by: seth <getchoo@tuta.io>
This commit is contained in:
seth
2022-10-21 19:54:10 -04:00
parent 7a8c963722
commit ba4af1a890
2 changed files with 2 additions and 2 deletions

View File

@ -1571,7 +1571,7 @@ QString Application::getJarPath(QString jarFile)
{
QStringList potentialPaths = {
#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD)
FS::PathCombine(m_rootPath, "share/jars"),
FS::PathCombine(m_rootPath, "share/" + BuildConfig.LAUNCHER_NAME),
#endif
FS::PathCombine(m_rootPath, "jars"),
FS::PathCombine(applicationDirPath(), "jars")