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

Don't lock some Steam Deck options behind --steam

It's possible to add Astra a non-Steam game shortcut, so now it should
enable the org.kde.breeze and some other stuff in that case.

(cherry picked from commit d3478b6133)
This commit is contained in:
Joshua Goins 2024-08-04 22:44:49 -04:00
parent bf72ee6633
commit 785d9fe451

View file

@ -132,10 +132,10 @@ int main(int argc, char *argv[])
if (!args.empty() && !args.join(QLatin1Char(';')).contains("ffxivboot.exe"_L1)) {
return 0;
}
}
if (qEnvironmentVariable("SteamDeck") == QStringLiteral("1")) {
isSteamDeck = true;
}
if (qEnvironmentVariable("SteamDeck") == QStringLiteral("1")) {
isSteamDeck = true;
}
#if defined(Q_OS_LINUX)