mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-23 12:57:45 +00:00
Set IS_FFXIV_LAUNCH_FROM_STEAM if using Steam account
This commit is contained in:
parent
c6899c42fe
commit
b1f9327413
1 changed files with 4 additions and 0 deletions
|
@ -243,6 +243,10 @@ void GameRunner::launchExecutable(const Profile &profile, QProcess *process, con
|
|||
arguments.push_back(profile.winePath());
|
||||
#endif
|
||||
|
||||
if (profile.account()->license() == Account::GameLicense::WindowsSteam) {
|
||||
env.insert(QStringLiteral("IS_FFXIV_LAUNCH_FROM_STEAM"), QStringLiteral("1"));
|
||||
}
|
||||
|
||||
arguments.append(args);
|
||||
|
||||
auto executable = arguments[0];
|
||||
|
|
Loading…
Add table
Reference in a new issue