Command reference
ed app rollback
Go back to the most recent Edith version that worked on this Mac.
ed app rollback [--yes] [--json]| Name | Type / values | Default | What it does |
|---|---|---|---|
--yes |
flag | off | Replace the app with the saved version; otherwise print a preview. |
--json |
flag | off | Emit JSON on stdout. |
Edith saves a copy of the version you are running in
~/Library/Application Support/Edith/backups right before it installs an
update. The rollback target is the newest saved copy that is not the version
you run now and that started cleanly before. The command fails when there is
none.
ed does the rollback itself, so it works even when the app is not answering.
Before restoring, it checks that the saved copy is an unmodified Edith from the
same developer as the one you run. If it is not, nothing changes. It then quits
Edith, puts the saved copy in place and opens it. If the restored copy does not
start, the version you had is put back. Automatic updates skip the version you
left; a newer one still installs. When the app folder is not writable, nothing
changes. Settings, data and extensions are not touched.
ed app rollbacked app rollback --yesed app rollback --yes --json--json shape:
{ "action": "rollback", "applied": true, "changed": true, "from": "1.0.19", "path": "/Applications/Edith.app", "to": "1.0.18"}A preview has applied and changed set to false and requiresConfirmation
set to true.
The first time a new version opens, Edith checks that the extensions that
worked before still start and that the window responds. Extensions that were
already failing before the update do not count. If the check fails, Edith skips
that version for automatic updates and offers once to go back to the saved
copy. ed app info --json reports the result in updateHealth (state is
checking, healthy or failed, with reason and rollbackVersion).
Where to go next
ed app, the rest of this group- All
edcommands