Fix direct window launch when VBScript is disabled

The window now starts Luminary.ps1 through a hidden PowerShell process instead of relying on the VBS entry point, and the installer defaults to Luminary.cmd. Bump the beta to 0.5.1.
This commit is contained in:
2026-11-28 23:03:51 +00:00
parent fe1da03f66
commit 726a5b922b
11 changed files with 84 additions and 33 deletions
+8 -4
View File
@@ -279,7 +279,10 @@ uses `runtime.json`, and the browser window remains the fallback when the exe
is absent or fails to start. A direct launch without `--url` forwards to the
bundle launcher and exits immediately; that closes the old hole where
double-clicking the window opened port 8787 directly and showed a login page
(or a dead URL) because no desktop-mode server was running.
(or a dead URL) because no desktop-mode server was running. The handoff prefers
the Go `Luminary.exe`, then runs `Luminary.ps1` in a hidden PowerShell process;
it does not use `Luminary.vbs`, because Windows Script Host can be disabled on
managed machines even when the bundle is healthy.
## 12. Runtime resolution and repair
@@ -355,9 +358,10 @@ module, which needs the type-stripping runtime.
bundle" message, not a missing-file crash.
12. On a machine with Node 24 installed: delete `node.exe` → the launcher warns,
starts on the system Node and `-Status` names that path; `-Stop` still works.
13. Double-click `LuminaryWindow.exe` with no arguments → it exits, the bundle
launcher starts desktop mode, and the reopened window is signed in; no login
screen appears.
13. Double-click `LuminaryWindow.exe` with no arguments on a machine where
VBScript is disabled → it exits, the hidden PowerShell launcher starts
desktop mode, and the reopened window is signed in; no login screen and no
Windows Script Host error appear.
14. On a machine with no Node: delete `node.exe` → the launch offers the 90 MB
download; Yes installs and starts, No exits 3; `-Repair` works as well.
15. Truncate `node.exe` (keep the first 100 kB) → `-Verify` reports `damaged`,