aboutsummaryrefslogtreecommitdiff
path: root/launcher
diff options
context:
space:
mode:
authorseth <getchoo@tuta.io>2022-10-21 21:29:28 -0400
committerseth <getchoo@tuta.io>2022-10-21 21:40:21 -0400
commit4a2b25e841224441c0dcaa81bcbd0f716d64201e (patch)
tree43840ba2e4bb01d39e65eaf3ef5acf0783fc8156 /launcher
parentba4af1a890f3d2990d86a36a2fbbb16ad2c774cf (diff)
downloadPrismLauncher-4a2b25e841224441c0dcaa81bcbd0f716d64201e.tar.gz
PrismLauncher-4a2b25e841224441c0dcaa81bcbd0f716d64201e.tar.bz2
PrismLauncher-4a2b25e841224441c0dcaa81bcbd0f716d64201e.zip
fix: use correct variable for jars path
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 babf824a..97f757f7 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/" + BuildConfig.LAUNCHER_NAME),
+ FS::PathCombine(m_rootPath, "share/" + BuildConfig.LAUNCHER_APP_BINARY_NAME),
#endif
FS::PathCombine(m_rootPath, "jars"),
FS::PathCombine(applicationDirPath(), "jars")