1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-06-08 06:57:46 +00:00

Test to try initializing Steam API

This commit is contained in:
Joshua Goins 2024-04-01 22:38:39 -04:00
parent 2350f65c5c
commit 8d246bc8e1

View file

@ -149,7 +149,7 @@ QString GameRunner::getGameArgs(const Profile &profile, const LoginAuth &auth)
}
}
if (profile.account()->license() == Account::GameLicense::WindowsSteam) {
if (m_launcher.isSteamDeck() || profile.account()->license() == Account::GameLicense::WindowsSteam) {
gameArgs.push_back({QStringLiteral("IsSteam"), QString::number(1)});
}
@ -256,7 +256,7 @@ void GameRunner::launchExecutable(const Profile &profile, QProcess *process, con
arguments.push_back(profile.winePath());
#endif
if (profile.account()->license() == Account::GameLicense::WindowsSteam) {
if (m_launcher.isSteamDeck() || profile.account()->license() == Account::GameLicense::WindowsSteam) {
env.insert(QStringLiteral("IS_FFXIV_LAUNCH_FROM_STEAM"), QStringLiteral("1"));
}