diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-05-13 01:24:15 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-05-13 01:24:15 +0200 |
commit | 868669a497fd08524eec6d31ac483f431b95198c (patch) | |
tree | a46fa4fa4e6baaf14720f10b3a2d09df3c98aaf6 /api/logic/java | |
parent | 4cf4110d9dc694d2c28feca38656925980b57a4d (diff) | |
download | MultiMC-868669a497fd08524eec6d31ac483f431b95198c.tar MultiMC-868669a497fd08524eec6d31ac483f431b95198c.tar.gz MultiMC-868669a497fd08524eec6d31ac483f431b95198c.tar.lz MultiMC-868669a497fd08524eec6d31ac483f431b95198c.tar.xz MultiMC-868669a497fd08524eec6d31ac483f431b95198c.zip |
NOISSUE add a linux system packaging install layout
Diffstat (limited to 'api/logic/java')
-rw-r--r-- | api/logic/java/JavaChecker.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/api/logic/java/JavaChecker.cpp b/api/logic/java/JavaChecker.cpp index daf375ad..ebbd80be 100644 --- a/api/logic/java/JavaChecker.cpp +++ b/api/logic/java/JavaChecker.cpp @@ -7,13 +7,15 @@ #include <QCoreApplication> #include <QDebug> +#include "Env.h" + JavaChecker::JavaChecker(QObject *parent) : QObject(parent) { } void JavaChecker::performCheck() { - QString checkerJar = FS::PathCombine(QCoreApplication::applicationDirPath(), "jars", "JavaCheck.jar"); + QString checkerJar = FS::PathCombine(ENV.getJarsPath(), "JavaCheck.jar"); QStringList args; |