mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-21 04:07:46 +00:00
Oops, remove Steam Deck hack
This commit is contained in:
parent
d9a578d857
commit
eb2da87add
1 changed files with 1 additions and 2 deletions
|
@ -209,9 +209,8 @@ bool LauncherCore::isSteam() const
|
||||||
|
|
||||||
bool LauncherCore::isSteamDeck() const
|
bool LauncherCore::isSteamDeck() const
|
||||||
{
|
{
|
||||||
return true;
|
|
||||||
if (m_steamApi != nullptr) {
|
if (m_steamApi != nullptr) {
|
||||||
return true;
|
return m_steamApi->isDeck() || qEnvironmentVariable("SteamDeck") == QStringLiteral("1");
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue