Commit Graph
6 Commits
Author SHA1 Message Date
N0VAN0M4LY 82ec1c47ff feat(launcher): support signed in-place updates for portable builds 2026-12-02 09:37:05 +08:00
N0VAN0M4LY 1c24adbd83 feat(repo): attach a portable zip to launcher releases
Adaptation pack / release (push) Waiting to run
Zip the unpacked app after packaging and upload it as a fourth release asset for manual download. The zip is unsigned; only the installer is Ed25519-signed for the update check.
2026-12-01 22:37:07 +08:00
N0VAN0M4LY ec020d2848 fix(repo): download the Electron runtime before packaging
Launcher release / release (push) Waiting to run
electron 43 ships without a postinstall script, so npm ci leaves node_modules/electron/dist empty. Install the binary explicitly, matching the documented local build.
2026-12-01 20:46:24 +08:00
N0VAN0M4LY d75c80c05a feat(repo): add launcher release workflow
Build, sign, and publish the Windows installer on a v<version> tag. The release is created as a draft so its three files and note can be reviewed before publication.
2026-12-01 20:34:50 +08:00
N0VAN0M4LY bd7450d9a1 fix(release): support prerelease adaptation packs
Adaptation pack / release (push) Waiting to run
Include published prereleases in adaptation pack checks. Publish signed adaptation packs as prereleases and let manual workflow runs stage a draft for release notes.
2026-12-01 18:36:17 +08:00
N0VAN0M4LY f5c5377d44 feat(patch-pack): publish signed adaptation packs and install them locally
An adaptation pack is the patch set (exe, GUI, native definitions and
version records) released on its own, so a new game build can be adapted
without a new offline version. It is a zip with a manifest, signed with
Ed25519, published as a GitHub release tagged patches-<YYYY.MM.DD[.N]>.

- packages/patcher/src/patch-pack: manifest and version numbers, zip
  writing and reading with path and size checks, signatures, a check that
  a patch set reads as a whole; tuning/patch-pack.jsonc holds the
  repository and the limits.
- scripts/generate-patch-signing-key.ts writes the public key for the
  repository and the private key outside it; scripts/build-patch-pack.ts
  packs only committed files and signs with PATCH_SIGNING_KEY.
- .github/workflows/patch-pack.yml packs, signs and publishes on a
  patches-* tag or a manual run.
- Launcher main process: find the newest pack release, download, verify,
  unpack into user data and make it active; resource paths use the
  active pack when it is usable (a repository checkout only with
  WTO_USE_PATCH_PACK=1). The pages that show and start this come later.
2026-11-29 16:08:37 +08:00