mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-03 11:56:57 +03:00
fix: use correct variable for jars path
Signed-off-by: seth <getchoo@tuta.io>
This commit is contained in:
parent
ba4af1a890
commit
4a2b25e841
3 changed files with 3 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue