Stop asking for a restart after the machine has restarted
Release / release (push) Successful in 27s

CoreDesktop only removes reboot-needed at the start of the next update, so
the restart item stayed after a reboot. Ignore the flag when it was written
before the current boot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-30 19:39:27 -07:00
co-authored by Claude Opus 5.5
parent 3e5d23c25f
commit af81a8ccc5
3 changed files with 24 additions and 2 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ know whether you're up to date or to start an update.
| Item | Runs | What you see |
| --- | --- | --- |
| Header | `git log` on `~/.local/share/coredesktop` | Your version, e.g. `2026.11.25 (4fb3539)`, and one status line: *Up to date*, *2026.11.27 (f798974) is available*, *Updating…*, *Restart to finish the last update* |
| Restart to finish updating | `gnome-session-quit --reboot` | Shown only while `~/.local/state/coredesktop/reboot-needed` exists |
| Restart to finish updating | `gnome-session-quit --reboot` | Shown only while `~/.local/state/coredesktop/reboot-needed` exists and was written since the last boot |
| Update | `update` in a terminal | **New version** pill when `version --check` finds one; **Running…** while it runs |
| Refresh | `refresh` in a terminal | First, a dialog explaining what refresh does (this can be turned off) |
| Sibling projects | `sibling check --porcelain` | Shown only if you have sibling projects. Says which have a newer version, with an **N new** pill. Opens a dialog listing each sibling's installed version and **Up to date**, **New version** or **Couldn't check**, with an **Update** button that runs `sibling update <name>` in a terminal (and **Update all** for `sibling update`) |