mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-21 20:27:45 +00:00
When using Steam, push it on game args and environment
This commit is contained in:
parent
84f341ec78
commit
6ff0b2be5a
1 changed files with 4 additions and 0 deletions
|
@ -149,6 +149,10 @@ void LauncherCore::launchGame(const ProfileSettings& profile, const LoginAuth au
|
|||
}
|
||||
|
||||
auto gameProcess = new QProcess(this);
|
||||
if(profile.useSteam) {
|
||||
gameArgs.push_back({"IsSteam", "1"});
|
||||
gameProcess->environment() << "IS_FFXIV_LAUNCH_FROM_STEAM=1";
|
||||
}
|
||||
|
||||
if(profile.enableDalamud) {
|
||||
connect(gameProcess, &QProcess::readyReadStandardOutput, [this, gameProcess, profile] {
|
||||
|
|
Loading…
Add table
Reference in a new issue