mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-19 21:06:09 +00:00
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:
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;
|
||||
|
||||
Reference in new issue
Block a user