a4aa43461f
A tester saw Edge open and start syncing his Microsoft account; the bundle carried no WebView2 host, so the launcher fell back to Edge's app mode. The window host is now built and shipped, the fallback prefers Chrome over Edge, and the installer's Start Luminary, shortcuts and start-at-login use Luminary.exe so they no longer depend on Windows Script Host, which policy can disable.
44 lines
2.4 KiB
Markdown
44 lines
2.4 KiB
Markdown
# Windows releases (transfer folder)
|
|
|
|
The built bundle, kept here so it can be copied to a Windows machine on a USB
|
|
stick, a network share, or a release upload. Nothing reads it at run time; the
|
|
app never looks in this folder.
|
|
|
|
| File | What to do with it |
|
|
| --- | --- |
|
|
| `Luminary-<version>-win-x64-setup.exe` | Copy to the Windows PC and run it. Per-user install, no admin prompt: Start-menu shortcuts, optional desktop shortcut and start-at-login, and an uninstaller that keeps `%LOCALAPPDATA%\Luminary\data`. |
|
|
| `Luminary-<version>-win-x64.zip` | The portable alternative: extract, then run `Luminary.exe` from the extracted `Luminary` folder. `README-windows.txt` inside the zip is the end-user guide. |
|
|
| `LuminaryWindow.exe` inside the zip | the app window (WebView2): no browser is opened, so it cannot pull in an Edge profile or Microsoft account. The launcher uses it automatically, and starting it directly forwards to the launcher |
|
|
| `SHA256SUMS.txt` | Check a copy did not corrupt: `certutil -hashfile Luminary-<version>-win-x64-setup.exe SHA256` |
|
|
|
|
## Rebuilding this folder
|
|
|
|
```bash
|
|
node windows/build.mjs --publish # npm run build, then bundle + copy here
|
|
node windows/build.mjs --skip-build --publish # reuse the existing dist/
|
|
```
|
|
|
|
`--publish` copies the finished zip, the setup exe and `SHA256SUMS.txt`. The build still
|
|
stages and zips **outside** the checkout (`~/.cache/luminary-windows`, or
|
|
`%LOCALAPPDATA%\Luminary\build` on Windows); this folder only receives the final
|
|
artifact. Old versions are not deleted, so remove the ones you no longer ship.
|
|
|
|
Add `--webview2 <path to LuminaryWindow.exe>` for the native window; without it
|
|
the zip is about 65 MB smaller and falls back to an Edge/Chrome app window.
|
|
|
|
## Before a deploy
|
|
|
|
`scripts/deploy.mjs` rsyncs the worktree, so a zip left here is also sent to the
|
|
production server. On a Linux host it is harmless (nothing loads it), but if you
|
|
do not want a ~110 MB file on the server, delete it after transferring, or
|
|
publish only when you are actually shipping a build.
|
|
|
|
## What a Windows user needs
|
|
|
|
Windows 10/11 x64. Node.js, .NET and the Visual C++ Redistributable are **not**
|
|
required — they are bundled or part of Windows. The app window uses the
|
|
Microsoft Edge WebView2 runtime, which Windows 10/11 install with Edge; it is
|
|
the window engine only, so no browser window, profile or account is used. The
|
|
Develop module needs WebGL2, which WebView2 provides. See `../README.md` for the
|
|
import-level audit.
|