Skip to content

Update and Restart: say when an update is ready, and take it at once (0.3.2) - #67

Merged
Zain-Orwa merged 2 commits into
mainfrom
release/0.3.2-update-and-restart
Nov 12, 2026
Merged

Zain-Orwa merged 2 commits into
mainfrom
release/0.3.2-update-and-restart

Conversation

@Zain-Orwa

Copy link
Copy Markdown
Owner

What this adds

While an update has been fetched and is waiting, a small Update and Restart button stands at the top of the window, at the right: on Home's bar, and on the ribbon's row of tabs in a workspace (ADR-025). Pressed, ERDFlow closes as it does when it is closed by hand (unsaved work is asked about, and Cancel keeps it open), the update is put in place by the steps it always was, and ERDFlow is opened again.

Asked for on finding that 0.3.1, fetched and waiting on an installed copy, said nothing until ERDFlow was quit and opened again.

What stays as it was

  • How an update is found, fetched, checked and made ready, and the Automatic Updates switch (ADR-024).
  • Closing ERDFlow by hand: the update is put in place silently, and ERDFlow is not opened again.
  • The window with no update waiting. The button is laid over its row, in room the row was not using, so nothing is moved or resized and the tabs remain File, Home and Settings. The pictures the visual suite draws are byte-identical to those of the v0.3.1 tree.

How it restarts

  • macOS: the shell that trades the bundles then opens the installed one (open -n); if the trade fails, the old bundle is put back and is what opens.
  • Windows: the installer is given /RELAUNCH=1; its script starts ERDFlow when it is, and starts nothing without it.
  • Linux: the renamed AppImage is started.

Another ERDFlow being open, or the fetched update having gone, is said in a notice under the button instead.

Who sees it

Installed 0.3.0 and 0.3.1 copies have no button to show: they take 0.3.2 silently, as before. The button first appears for the release after 0.3.2.

Checked

  • update suite, five more checks: what is waiting; a look that finds one waiting; another ERDFlow open; the installer's words; and (macOS and Linux) an update put in place with ERDFlow opened again or not.
  • Desktop window-tools part, one more: the button on both rows, nothing moved, the Settings switch, the notice, its colours and keyboard focus.
  • The package workflow gains one Windows step: the installer, run as an update asked to open ERDFlow again runs it, must start ERDFlow.
  • Locally (macOS arm64): Debug, Release and a packaged build each pass all twelve functional suites; visual differs on the same six reference pictures as main.

The second commit sets the version to 0.3.2 and adds its release notes.

🤖 Generated with Claude Code

Zain-Orwa and others added 2 commits November 12, 2026 16:19
While an update has been fetched and is waiting, a small Update and Restart
button stands at the top of the window, at the right: on Home's bar, and on
the ribbon's row of tabs in a workspace (ADR-025). Zain asked for it on
finding that 0.3.1, fetched and waiting, said nothing. Pressed, ERDFlow
closes as it does when closed by hand, the update is put in place by the
steps it always was, and ERDFlow is opened again.

- The button is laid over its row, in room the row was not using: nothing
  there is moved or resized, and the tabs remain File, Home and Settings.
  With no update waiting, with Automatic Updates off, and in a build from
  source, it is not there.
- macOS opens the bundle again from the shell that trades the bundles;
  Windows gives the installer /RELAUNCH=1, which its script answers by
  starting ERDFlow; Linux starts the renamed AppImage.
- Another ERDFlow open, or what was ready gone, is said in a notice under
  the button instead.
- Closing ERDFlow by hand still updates it silently and does not open it
  again; fetching, checking and the Settings switch are unchanged.
- --update-ready <version> shows the button in a build from source.
- The package workflow checks that the Windows installer, run as an update
  asked to open ERDFlow again runs it, starts ERDFlow.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Version 0.3.2 and its release notes: Update and Restart, the button that
says an update is ready and takes it at once.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@Zain-Orwa
Zain-Orwa merged commit 328fec8 into main Nov 12, 2026
13 checks passed
@Zain-Orwa
Zain-Orwa deleted the release/0.3.2-update-and-restart branch November 13, 2026 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant