From b1f932741379cfb97336143bc752203e7e0251fb Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sat, 23 Dec 2023 10:32:54 -0500 Subject: [PATCH] Set IS_FFXIV_LAUNCH_FROM_STEAM if using Steam account --- launcher/src/gamerunner.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/launcher/src/gamerunner.cpp b/launcher/src/gamerunner.cpp index 0958284..e460ab7 100644 --- a/launcher/src/gamerunner.cpp +++ b/launcher/src/gamerunner.cpp @@ -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];