mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-15 12:53:31 +08:00
The desktop app already had Tauri updater plumbing, but the release pipeline was not emitting signed updater artifacts and the UI exposed only a thin auto-check path. This change restores a working updater release path, rotates to a new updater public key, and adds a shared update flow with manual check/install controls for testing. Constraint: Original updater private key is unavailable, so a new public key had to be embedded and old installs cannot trust new signatures Constraint: Must not add new dependencies or require main-branch rollout before validation Rejected: Keep the old pubkey and skip signing | would leave release builds unable to publish valid updater artifacts Rejected: Add a manual download fallback flow | user explicitly deferred that work Confidence: high Scope-risk: moderate Reversibility: clean Directive: Preserve the new updater private key and password outside the repo; losing them again will break future in-app updates for installed builds Tested: desktop unit test for updater store; desktop TypeScript no-emit; desktop production build Not-tested: end-to-end updater install against a real GitHub Release on this branch
6 lines
57 B
JSON
6 lines
57 B
JSON
{
|
|
"bundle": {
|
|
"createUpdaterArtifacts": true
|
|
}
|
|
}
|