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
+5 -4
View File
@@ -2,7 +2,7 @@
;
; Build the bundle first: node windows/build.mjs
; Then, from the output directory:
; iscc /DAppVersion=0.5.0 /DSourceDir="<abs path to stage\Luminary>" \
; iscc /DAppVersion=0.5.1 /DSourceDir="<abs path to stage\Luminary>" \
; <repo>\windows\installer.iss
;
; The default SourceDir is relative to this script and only works when iscc is
@@ -13,11 +13,12 @@
; %LOCALAPPDATA%\Luminary\data and is kept on uninstall.
#ifndef AppVersion
#define AppVersion "0.5.0"
#define AppVersion "0.5.1"
#endif
#ifndef Launcher
; Luminary.vbs for the PowerShell launcher build, Luminary.exe for the Go one.
#define Launcher "Luminary.vbs"
; Luminary.cmd works even when Windows Script Host is disabled; Luminary.exe
; for the Go launcher build.
#define Launcher "Luminary.cmd"
#endif
#ifndef SourceDir
#define SourceDir "stage\Luminary"