Ship Windows as a per-user NSIS installer
Replaces the Inno Setup script, which could not be built off Windows, with an NSIS installer that cross-compiles on Linux, installs under LOCALAPPDATA with no UAC prompt, and keeps the catalog on uninstall. build.mjs gains --installer and --no-installer, and --publish now ships the setup exe beside the portable zip.
This commit is contained in:
@@ -6,9 +6,10 @@ 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. |
|
||||
| `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.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` |
|
||||
| `SHA256SUMS.txt` | Check a copy did not corrupt: `certutil -hashfile Luminary-<version>-win-x64-setup.exe SHA256` |
|
||||
|
||||
## Rebuilding this folder
|
||||
|
||||
@@ -17,7 +18,7 @@ node windows/build.mjs --publish # npm run build, then bundle + copy
|
||||
node windows/build.mjs --skip-build --publish # reuse the existing dist/
|
||||
```
|
||||
|
||||
`--publish` copies the finished zip and writes `SHA256SUMS.txt`. The build still
|
||||
`--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.
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
644c4e60451466e69d16860a9d1be509acc204168fb30bcd3f4f6b75ba24d922 Luminary-0.5.1-win-x64.zip
|
||||
22b8943d1ca3bed3ef115530831947e4e03f6a45317ec6b35c10e871fad22a9a Luminary-0.5.1-win-x64.zip
|
||||
b33e3d8b595aa3ff20b0898f3adea639e02afe9eb54c4fba5dd09ec07e041a0c Luminary-0.5.1-win-x64-setup.exe
|
||||
|
||||
Reference in New Issue
Block a user