1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-20 19:57:45 +00:00

Oops, remove Steam Deck hack

This commit is contained in:
Joshua Goins 2023-12-20 21:25:30 -05:00
parent d9a578d857
commit eb2da87add

View file

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