1
Fork 0
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:
Joshua Goins 2023-12-23 10:32:54 -05:00
parent c6899c42fe
commit b1f9327413

View file

@ -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];