fe1da03f66
Forward a direct LuminaryWindow launch through the bundle launcher so it starts desktop mode instead of showing a signed-out page. Refresh the guide screenshots and version the release as 0.5.0 Beta.
42 lines
2.1 KiB
Markdown
42 lines
2.1 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.zip` | Copy to the Windows PC, right-click → **Extract All…**, then run `Luminary.cmd` (or `Luminary.vbs`) from the extracted `Luminary` folder. `README-windows.txt` inside the zip is the end-user guide. |
|
|
| `LuminaryWindow.exe` inside the zip | optional native window (WebView2); the launcher uses it automatically when present, and starting it directly forwards to the launcher |
|
|
| `SHA256SUMS.txt` | Check the copy did not corrupt: `certutil -hashfile Luminary-<version>-win-x64.zip 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 and writes `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 half the size (49 MB) and uses the 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 and a current browser (Edge, Chrome or Firefox) with WebGL2.
|
|
Node.js, .NET and the Visual C++ Redistributable are **not** required — they are
|
|
bundled or part of Windows. The native window needs the Microsoft Edge WebView2
|
|
runtime, which Windows 10/11 already has alongside Edge. See `../README.md` for
|
|
the import-level audit.
|