35 lines
2.3 KiB
Markdown
35 lines
2.3 KiB
Markdown
# Review — `fix/installer-name`
|
|
|
|
**What:** the Windows installer is published as `RoseaDomi_<version>_x64-setup.exe`, not
|
|
`Rosea Domi_<version>_x64-setup.exe`. Aula makes an installer public only when its name matches
|
|
`[A-Za-z0-9._-]+-setup.exe` (Aula docs/14_feed.md), which is also the form Atrium Domi expects. So v0.1.1's
|
|
installer never appeared on Aula, while its APK did (reported by Aula, 2026-12-02).
|
|
|
|
**How:** `tauri build` still names the file after `productName`. Then `scripts/installer-name.ts` renames it,
|
|
in the same `build:desktop` command, before the release's `desktop` step collects `*-setup.exe`. The names and the
|
|
pattern live in `src/installer-name.ts`, where the test can reach them without a build.
|
|
|
|
## Findings
|
|
|
|
1. **Why not change `productName`?** It is also the window title, the install folder and the uninstall
|
|
entry Atrium finds her by. A new `productName` would make the next installer a second app beside the
|
|
first, and a player who updates would have two roses. Only the file is renamed. *Not done:* the
|
|
installer's own wizard text still says "Rosea Domi", which is right.
|
|
2. **An older installer left in the folder.** The release step publishes every `*-setup.exe` in
|
|
`bundle/nsis/`. The rename deletes any other installer there (build output only) and fails unless exactly
|
|
one remains with an accepted name. Tested with an old Tauri-named file and an old renamed one beside the
|
|
new one.
|
|
3. **The signing steps** (`sign`, `minisign`, `publish`) match `**/*-setup.exe`, so they find the renamed
|
|
file. *Not verified until the v0.1.2 hub run.*
|
|
4. **Test honesty:** with the space put back (`${PRODUCT_NAME}` unchanged), 4 of the 7 new tests fail
|
|
(drill run on D:, then reverted). The `build:desktop` order is pinned by a test, and `domi-app.test.ts` was
|
|
loosened only to allow what follows `tauri build`.
|
|
5. **AULA.md** names the new file, so a player following the page finds it.
|
|
6. **Soul, privacy, reachability, offline:** nothing a player sees inside the game changed.
|
|
|
|
**Not verified:** a real `tauri build` here (it is the hub's step), and Aula showing the installer once v0.1.2
|
|
is published.
|
|
|
|
**Gate (D:, 2026-12-02):** lint 0, typecheck 0, lint:copy 0 problems; `pnpm test` 653 passed (schema 19, identity 5,
|
|
release 8, cpu-guard 13, storage 70, content 88, art-prep 80, tauri 99, ui 92, engine 179).
|