From eb2da87adddd1c07db7bde18b08de5d5408dced3 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Wed, 20 Dec 2023 21:25:30 -0500 Subject: [PATCH] Oops, remove Steam Deck hack --- launcher/src/launchercore.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/launcher/src/launchercore.cpp b/launcher/src/launchercore.cpp index dfcd246..a541dd0 100755 --- a/launcher/src/launchercore.cpp +++ b/launcher/src/launchercore.cpp @@ -209,9 +209,8 @@ bool LauncherCore::isSteam() const bool LauncherCore::isSteamDeck() const { - return true; if (m_steamApi != nullptr) { - return true; + return m_steamApi->isDeck() || qEnvironmentVariable("SteamDeck") == QStringLiteral("1"); } else { return false; }