aboutsummaryrefslogtreecommitdiff
path: root/launcher
diff options
context:
space:
mode:
authorseth <getchoo@tuta.io>2022-10-21 19:54:10 -0400
committerseth <getchoo@tuta.io>2022-10-21 21:40:20 -0400
commitba4af1a890f3d2990d86a36a2fbbb16ad2c774cf (patch)
tree2b738c6746e8decec467c248404633834ac7c1b5 /launcher
parent7a8c9637225f457d4648a00ff7d8031acd403730 (diff)
downloadPrismLauncher-ba4af1a890f3d2990d86a36a2fbbb16ad2c774cf.tar.gz
PrismLauncher-ba4af1a890f3d2990d86a36a2fbbb16ad2c774cf.tar.bz2
PrismLauncher-ba4af1a890f3d2990d86a36a2fbbb16ad2c774cf.zip
fix: make jars path specific to prism
Signed-off-by: seth <getchoo@tuta.io>
Diffstat (limited to 'launcher')
-rw-r--r--launcher/Application.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/Application.cpp b/launcher/Application.cpp
index 6ffec1ae..babf824a 100644
--- a/launcher/Application.cpp
+++ b/launcher/Application.cpp
@@ -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")