mirror of
https://github.com/redstrate/Astra.git
synced 2025-06-08 23:17:44 +00:00
Fix tools not launching due to missing environment
This commit is contained in:
parent
d1f745045d
commit
348bd0939e
1 changed files with 3 additions and 0 deletions
|
@ -558,18 +558,21 @@ void LauncherCore::openOfficialLauncher(Profile *profile)
|
||||||
QString finalArg = encryptGameArg(argJoined);
|
QString finalArg = encryptGameArg(argJoined);
|
||||||
|
|
||||||
auto launcherProcess = new QProcess(this);
|
auto launcherProcess = new QProcess(this);
|
||||||
|
launcherProcess->setProcessEnvironment(QProcessEnvironment::systemEnvironment());
|
||||||
launchExecutable(*profile, launcherProcess, {profile->gamePath() + "/boot/ffxivlauncher64.exe", finalArg}, false, true);
|
launchExecutable(*profile, launcherProcess, {profile->gamePath() + "/boot/ffxivlauncher64.exe", finalArg}, false, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void LauncherCore::openSystemInfo(Profile *profile)
|
void LauncherCore::openSystemInfo(Profile *profile)
|
||||||
{
|
{
|
||||||
auto sysinfoProcess = new QProcess(this);
|
auto sysinfoProcess = new QProcess(this);
|
||||||
|
sysinfoProcess->setProcessEnvironment(QProcessEnvironment::systemEnvironment());
|
||||||
launchExecutable(*profile, sysinfoProcess, {profile->gamePath() + "/boot/ffxivsysinfo64.exe"}, false, false);
|
launchExecutable(*profile, sysinfoProcess, {profile->gamePath() + "/boot/ffxivsysinfo64.exe"}, false, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void LauncherCore::openConfigBackup(Profile *profile)
|
void LauncherCore::openConfigBackup(Profile *profile)
|
||||||
{
|
{
|
||||||
auto configProcess = new QProcess(this);
|
auto configProcess = new QProcess(this);
|
||||||
|
configProcess->setProcessEnvironment(QProcessEnvironment::systemEnvironment());
|
||||||
launchExecutable(*profile, configProcess, {profile->gamePath() + "/boot/ffxivconfig64.exe"}, false, false);
|
launchExecutable(*profile, configProcess, {profile->gamePath() + "/boot/ffxivconfig64.exe"}, false, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue