Cleanup: nav handler, update banner IPC, updater setup, release swap, docs #12
No reviewers
Labels
No labels
ai
ai:in-progress
ai:in-review
ai:merging
ai:needs-attention
cleanup
performance
security
severity/high
severity/low
severity/medium
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
adam/sunburn-desktop!12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ai/issue-9"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #9
SUNBURN_ORIGINconst and onerememberUrlhandler fordid-navigate/did-navigate-in-page.executeJavaScript; it sends anupdate-downloadedIPC event (re-sent on page load), exposed assunburnDesktop.onUpdateDownloaded(cb)(returns unsubscribe).setupAutoUpdaterruns once inwhenReady(window getter), not per window..gitignorefixed.latestrelease and swaps assets in place (manifests uploaded as.new, then delete + rename) instead of delete/recreate.Not done: Windows signing (needs a certificate and secrets plumbing into
Dockerfile.release); should be its own issue. Old binaries are not pruned fromlatest.Follow-up needed: the web app must subscribe to
onUpdateDownloadedand render the banner; until then there's no banner (restart still works via settings/app quit).Tested:
node --check, YAML parse. Not run in Electron; release.yml only runs live on master and is idempotent on re-run.🤖 Generated with Claude Code
WIP: Cleanup: nav handler, update banner IPC, updater setup, release swap, docsto Cleanup: nav handler, update banner IPC, updater setup, release swap, docs