@covas-labs/electron-vr 0.7.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,6 +25,7 @@ export interface VRCompatibilityIssue {
25
25
  export interface VRLaunchAssessment {
26
26
  verdict: VRLaunchVerdict;
27
27
  wouldWorkNow: boolean;
28
+ canStartNow: boolean;
28
29
  fundamentalIncompatibility: boolean;
29
30
  message: string;
30
31
  requiredActions: VRSetupAction[];
@@ -138,6 +138,7 @@ export function analyzeVRCompatibility(runtime, context = {}) {
138
138
  launch = {
139
139
  verdict: "works-now",
140
140
  wouldWorkNow: true,
141
+ canStartNow: true,
141
142
  fundamentalIncompatibility: false,
142
143
  message: "Launching the browser overlay now is expected to produce real VR output.",
143
144
  requiredActions: []
@@ -150,6 +151,7 @@ export function analyzeVRCompatibility(runtime, context = {}) {
150
151
  launch = {
151
152
  verdict: "action-required",
152
153
  wouldWorkNow: false,
154
+ canStartNow: false,
153
155
  fundamentalIncompatibility: false,
154
156
  message: "The overlay is compatible, but setup must be completed before launching it.",
155
157
  requiredActions: actions
@@ -159,6 +161,7 @@ export function analyzeVRCompatibility(runtime, context = {}) {
159
161
  launch = {
160
162
  verdict: "action-required",
161
163
  wouldWorkNow: false,
164
+ canStartNow: true,
162
165
  fundamentalIncompatibility: false,
163
166
  message: `The overlay is ready, but real VR output requires a compatible ${compatibleHostGraphicsApis.join(" or ")} OpenXR application to be started or restarted.`,
164
167
  requiredActions: ["start-openxr-app"]
@@ -168,6 +171,7 @@ export function analyzeVRCompatibility(runtime, context = {}) {
168
171
  launch = {
169
172
  verdict: "action-required",
170
173
  wouldWorkNow: false,
174
+ canStartNow: false,
171
175
  fundamentalIncompatibility: false,
172
176
  message: "Launching now would not produce real VR output. Install and configure a supported OpenXR or SteamVR runtime first.",
173
177
  requiredActions: ["install-xr-runtime"]
@@ -177,6 +181,7 @@ export function analyzeVRCompatibility(runtime, context = {}) {
177
181
  launch = {
178
182
  verdict: "incompatible",
179
183
  wouldWorkNow: false,
184
+ canStartNow: false,
180
185
  fundamentalIncompatibility: true,
181
186
  message: "This platform or execution mode cannot provide a production VR overlay with the current implementation.",
182
187
  requiredActions: []
@@ -52,7 +52,8 @@ function runCommand(command) {
52
52
  ...process.env,
53
53
  ELECTRON_RUN_AS_NODE: "1"
54
54
  },
55
- stdio: ["ignore", "pipe", "pipe"]
55
+ stdio: ["ignore", "pipe", "pipe"],
56
+ windowsHide: true
56
57
  });
57
58
  let stdout = "";
58
59
  let stderr = "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@covas-labs/electron-vr",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "Electron VR overlay bridge with OpenXR, OpenVR, and mock fallback backends.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,8 +22,8 @@
22
22
  "electron": ">=37"
23
23
  },
24
24
  "optionalDependencies": {
25
- "@covas-labs/electron-vr-prebuilt-linux-x64": "0.7.0",
26
- "@covas-labs/electron-vr-prebuilt-win32-x64": "0.7.0"
25
+ "@covas-labs/electron-vr-prebuilt-linux-x64": "0.8.0",
26
+ "@covas-labs/electron-vr-prebuilt-win32-x64": "0.8.0"
27
27
  },
28
28
  "publishConfig": {
29
29
  "registry": "https://registry.npmjs.org",