mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-23 04:57:44 +00:00
Set dalamud log path and fix launch
This commit is contained in:
parent
061a6776db
commit
ec1724bb8b
1 changed files with 2 additions and 1 deletions
|
@ -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<QString> arguments;
|
||||
auto env = QProcessEnvironment::systemEnvironment();
|
||||
auto env = process->processEnvironment();
|
||||
|
||||
if (needsRegistrySetup) {
|
||||
#if defined(Q_OS_LINUX) || defined(Q_OS_MAC)
|
||||
|
|
Loading…
Add table
Reference in a new issue