fix(desktop): use full Windows installers within the feed limit

This commit is contained in:
Yun Chan 2026-11-20 21:13:37 +09:00
parent 52df7e7e7b
commit df680e4716
17 changed files with 109 additions and 32 deletions

View file

@ -174,11 +174,13 @@ Rules:
`npm run version:sync` when syncing surfaces; `npm run version:check` must be clean.
- **Channels.** `latest` (stable), `beta`, `alpha`. Stable clients never receive a
prerelease unless their channel allows it.
- **Major vs incremental.** `release/update-policy.json` decides whether an update
is mandatory (`minimumSupportedVersion`, `forceInstallBelow`) and whether to use a
full installer instead of a blockmap delta (`fullInstallOnMajorChange`,
`fullInstallVersionGap`). `stagingPercentage` limits rollout; `killSwitch` stops
update checks remotely.
- **Mandatory updates & rollout.** `release/update-policy.json` decides whether an
update is mandatory (`minimumSupportedVersion`, `forceInstallBelow`).
`stagingPercentage` limits rollout; `killSwitch` stops update checks remotely.
- **Windows full installers.** `nsis.differentialPackage: false` keeps the installer
within Cloudflare's 100 MiB upload limit, so Windows has no `.blockmap` delta and
`fullInstallVersionGap: 0` requests the full installer even for a patch. macOS
packaging is unchanged. The build/smoke gates require exactly that artifact set.
- **Secrets stay fail-closed.** Publishing needs `FORGEJO_TOKEN`
(`write:package` + `write:repository`) and `D3RO_UPDATE_SIGNING_KEY`; a missing or
mismatched signing key fails before any upload. `WIN_CSC_*` Authenticode material is