mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-19 12:56:06 +00:00
fix(session): Steam's install-script step no longer counts as the game for return after game (#2732)
This commit is contained in:
1 parent
1702f2d72d
commit
0a167e41c2
2 files changed
+22
-1
No files matched your search
@@ -40,8 +40,9 @@ object SteamGameProcess {
|
||||
val appId = args.getOrNull(i + 1)
|
||||
?.takeIf { it.startsWith("AppId=") }
|
||||
?.removePrefix("AppId=")
|
||||
val launchOptions = args.drop(i + 2).takeWhile { it != "--" }
|
||||
|
||||
if (appId == expectedAppId) return true
|
||||
if (appId == expectedAppId && "Install=1" !in launchOptions) return true
|
||||
}
|
||||
|
||||
if (args[i] == "-applaunch" &&
|
||||
|
||||
Reference in new issue
Block a user