fix(session): Steam's install-script step no longer counts as the game for return after game (#2732)

This commit is contained in:
The412Banner authored and GitHub committed 2026-11-18 09:37:50 -05:00
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" &&