From ec1724bb8b7822cf7ff4b3ec3608540295ab12af Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sun, 30 Jul 2023 16:21:00 -0400 Subject: [PATCH] Set dalamud log path and fix launch --- launcher/src/launchercore.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/launcher/src/launchercore.cpp b/launcher/src/launchercore.cpp index a0dbf76..e3ec264 100755 --- a/launcher/src/launchercore.cpp +++ b/launcher/src/launchercore.cpp @@ -131,6 +131,7 @@ void LauncherCore::beginDalamudGame(const QString &gameExecutablePath, const Pro "--dalamud-plugin-directory=" + dataDir + "\\installedPlugins", "--dalamud-asset-directory=" + dataDir + "\\DalamudAssets", "--dalamud-client-language=" + QString::number(profile.language()), + "--logpath=" + dataDir, "--", args}, true, @@ -178,7 +179,7 @@ QString LauncherCore::getGameArgs(const Profile &profile, const LoginAuth &auth) void LauncherCore::launchExecutable(const Profile &profile, QProcess *process, const QStringList &args, bool isGame, bool needsRegistrySetup) { QList arguments; - auto env = QProcessEnvironment::systemEnvironment(); + auto env = process->processEnvironment(); if (needsRegistrySetup) { #if defined(Q_OS_LINUX) || defined(Q_OS_MAC)