@rubytech/create-maxy-code 0.1.127 → 0.1.129
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.
- package/dist/index.js +10 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3524,14 +3524,17 @@ else {
|
|
|
3524
3524
|
}
|
|
3525
3525
|
catch { /* non-critical */ }
|
|
3526
3526
|
// Darwin has no VNC/X11 stack — `virtual` mode is Pi-only (tigervnc +
|
|
3527
|
-
// websockify + novnc, none of which exist on macOS).
|
|
3528
|
-
//
|
|
3529
|
-
//
|
|
3530
|
-
//
|
|
3531
|
-
//
|
|
3532
|
-
|
|
3527
|
+
// websockify + novnc, none of which exist on macOS). A preserved
|
|
3528
|
+
// DISPLAY_MODE=virtual is never operator intent on darwin — it is the
|
|
3529
|
+
// legacy default from installers before 0.1.127, when `virtual` was the
|
|
3530
|
+
// only initial value written. The guard fires whenever the resolved
|
|
3531
|
+
// value is not already `native`, covering both fresh installs and
|
|
3532
|
+
// upgrades that inherited the legacy default.
|
|
3533
|
+
if (process.platform === "darwin" && DISPLAY_MODE !== "native") {
|
|
3534
|
+
DISPLAY_MODE_SOURCE = preservedFromEnv
|
|
3535
|
+
? "darwin-auto (override-legacy-virtual)"
|
|
3536
|
+
: "darwin-auto (no VNC stack)";
|
|
3533
3537
|
DISPLAY_MODE = "native";
|
|
3534
|
-
DISPLAY_MODE_SOURCE = "darwin-auto (no VNC stack)";
|
|
3535
3538
|
}
|
|
3536
3539
|
}
|
|
3537
3540
|
// ---------------------------------------------------------------------------
|