Update Mortise
Mortise can update itself from its window. Versions up to 1.1.0 cannot: install the next release by hand
once, as in Install Mortise. Later versions offer the update
themselves. The command line tool mortise does not update itself.
Install an update
Section titled “Install an update”When a newer version exists, a message stays at the bottom right: “Mortise X.Y.Z is available.” Nothing is downloaded until you press the button.
- Press Install and restart in the message. The same button is in Settings, under General, in the Updates row.
- Wait while Mortise downloads the update. Settings shows the progress.
- Mortise checks the signature of the download against a public key built into the app. A download without the right signature is not installed.
- Mortise replaces itself and starts again.
The install waits while a command runs in an app, and while another window of Mortise is open. Close the other windows to let it go on. Settings says: “Downloaded. It installs when no command runs and no other window of Mortise is open.”
On each platform:
- macOS: Mortise replaces
Mortise.app. - Windows: Mortise runs the setup of the new version. It shows a progress bar and starts Mortise again.
- Linux: Mortise replaces the AppImage file.
Check by hand
Section titled “Check by hand”- Open Settings, then General.
- Press Check now in the Updates row.
Mortise says “This is the newest version.” or offers the update. A check that you start shows its failure: when GitHub cannot be reached, Mortise shows the error.
Turn the check off
Section titled “Turn the check off”- Open Settings, then General.
- Choose Off in the Updates row. The default is At start.
Mortise then asks for nothing by itself. Check now still works.
Update a copy that cannot replace itself
Section titled “Update a copy that cannot replace itself”Some copies cannot replace themselves. Mortise says: “Mortise X.Y.Z is available. This copy cannot replace itself: get it from the download page.” The message has the button Open the download page.
These copies cannot replace themselves:
- the
.debpackage - a build from source
- a macOS app opened from the disk image or the Downloads folder, without being moved to Applications
- an app in a folder that you cannot write without an administrator password
- Press Open the download page. Your browser opens the latest release.
- Download the installer for your platform and install it as in Install Mortise.
On macOS, move Mortise to Applications to let it update itself next time.
What the check sends
Section titled “What the check sends”With At start, Mortise asks at start, at most once every 24 hours, for one file: latest.json of the
newest release on GitHub. The request is a plain download. It carries no path, no app name, no module
name and no token. GitHub sees what any download shows it: your IP address.
A check at start that fails says nothing, and Mortise asks again a day later. update.json keeps when Mortise asked last and the newer
version it found. See Files and folders.