From 868669a497fd08524eec6d31ac483f431b95198c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sat, 13 May 2017 01:24:15 +0200 Subject: NOISSUE add a linux system packaging install layout --- api/logic/minecraft/launch/LauncherPartLaunch.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'api/logic/minecraft/launch') diff --git a/api/logic/minecraft/launch/LauncherPartLaunch.cpp b/api/logic/minecraft/launch/LauncherPartLaunch.cpp index b69ae413..d9441e56 100644 --- a/api/logic/minecraft/launch/LauncherPartLaunch.cpp +++ b/api/logic/minecraft/launch/LauncherPartLaunch.cpp @@ -19,6 +19,7 @@ #include #include #include +#include "Env.h" LauncherPartLaunch::LauncherPartLaunch(LaunchTask *parent) : LaunchStep(parent) { @@ -43,7 +44,7 @@ void LauncherPartLaunch::executeTask() // make detachable - this will keep the process running even if the object is destroyed m_process.setDetachable(true); - args << "-jar" << FS::PathCombine(QCoreApplication::applicationDirPath(), "jars", "NewLaunch.jar"); + args << "-jar" << FS::PathCombine(ENV.getJarsPath(), "NewLaunch.jar"); QString wrapperCommand = instance->getWrapperCommand(); if(!wrapperCommand.isEmpty()) -- cgit v1.2.3