Updates
Connecto keeps itself up to date. A new version is downloaded in the background and installed when you say so, with one restart. Your terminals come back afterwards, as at any start.
How it works
- A check at launch, then once a day. Connecto reads a small file,
connecto.studio/downloads/update.json, that names the newest version. It sends nothing about you or your machine: the request carries onlyConnecto-Updater/<version>as its user agent. - A download in the background. When there is a newer version, Connecto downloads it and checks it before offering it (see below).
- You choose when. A strip at the top of the window says Connecto 0.1.9 is ready, with Update and restart and Later. Later hides it until the next version.
- Running agents finish first. If an agent is in the middle of a turn, Connecto waits for it, and says how many turns it is waiting for. Restart now does not wait.
- The restart. Connecto quits as usual, the new version is put in place, and it starts. Open projects and terminals are restored, and agent sessions resume where they were.
To check by hand, choose Connecto → Check for Updates… (on Windows, File → Check for Updates…), or Check now in Settings → Connecto Home → Updates. There you can also turn off Check for updates automatically. There is one release channel: no betas.
What is checked
- The feed is signed.
update.jsoncarries an ed25519 signature. Connecto has the matching public key built in, so a feed changed by anyone else is refused. - The download matches. The feed names each file's size and SHA-256, and the download must match both.
- On a Mac, Apple's checks too. The new app must be intact, signed with the same Developer ID as the one running, and accepted by Gatekeeper (notarized by Apple). Anything else is not installed.
- Never older. Only a newer version than the one running is offered.
If the new version does not start
The version you had is kept until the new one has started properly. If the new one has not started within two minutes, it is moved aside, the previous version is put back and started, and a note says so. That version is not offered again; the next one is.
On a Mac the previous version is kept in Connecto's data folder (updates/previous), and an older one goes to the Trash. On Windows it is kept beside the install folder, as Connecto.previous.
Where Connecto must be installed
- Mac: in a folder you can write to, normally Applications. A copy run straight from the disk image cannot update itself; Connecto then offers the download page instead.
- Windows: in
%LOCALAPPDATA%\Programs\Connecto(unzip the download into%LOCALAPPDATA%\Programs). A copy elsewhere installs its first update there.
The download count on the home page counts new downloads only: an update of an existing install is not counted.