fix: only start SteamVR for VR-only games from Steam's library (#1076)

Games that merely support VR (No Man's Sky) were held at Play while
DroidDeck downloaded and started SteamVR, so they always opened in VR.
They now launch normally; VR-only games still wait for SteamVR.
This commit is contained in:
MaxsTechReview authored and GitHub committed 2026-10-18 09:26:01 -04:00
1 parent 69c88aa344
commit 7d149acb00
3 files changed
+17 -10

No files matched your search

@@ -208,7 +208,7 @@ VR_JS = r"""
return;
}
const overview = window.appStore?.GetAppOverviewByGameID?.(gameid);
const vr = overview?.vr_only || overview?.vr_supported || overview?.BSupportsVR?.();
const vr = overview?.vr_only === true;
if (vr && self.subscription && /^[1-9][0-9]{0,19}$/.test(gameid)) {
if (self.pending.has(gameid)) return;
self.lastError = null;