Read the machine architecture, not the process's, in the launcher
The platform check read PROCESSOR_ARCHITECTURE, which a WOW64 process reports as x86. Starting Luminary from the setup's finish page therefore stopped on 64-bit Windows with "Luminary ships a 64-bit runtime; this PC reports 'x86'". The machine architecture now comes from PROCESSOR_ARCHITEW6432 and Is64BitOperatingSystem.
This commit is contained in:
@@ -29,6 +29,13 @@ alongside 0.5.4; macOS remains at 0.5.1.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **The launcher no longer rejects a 64-bit PC started from a 32-bit parent.**
|
||||
The platform check read `PROCESSOR_ARCHITECTURE`, which a WOW64 process reports
|
||||
as `x86`. Starting Luminary from the setup's own finish page (a 32-bit NSIS
|
||||
process) therefore stopped at "Luminary ships a 64-bit runtime; this PC reports
|
||||
'x86'" on ordinary 64-bit Windows. It now reads the machine architecture from
|
||||
`PROCESSOR_ARCHITEW6432` and `Is64BitOperatingSystem`, so launch context no
|
||||
longer changes the answer.
|
||||
- **The setup now starts Luminary when "Start Luminary" is ticked.** The finish
|
||||
page ran the launcher with NSIS `Exec`, which passes the path straight to
|
||||
`CreateProcess`. This build ships the PowerShell launcher, so the target was
|
||||
|
||||
Reference in New Issue
Block a user