CrossGlyph checks for a newer release about once a day. The check only reports what is available. An update starts when you press Update or run the update command.
The status below the sample text shows one of these results:
- Up to date
- a newer release is available
- the check is off
- the release server could not be reached
Press Check now to check immediately. This works even when automatic checks are off.
Automatic checks run in the background. They do not delay a preview render or a font build.
When a newer release is available, Check now becomes Update.
Press Update to:
- download the release;
- verify its SHA-256 checksum;
- install it beside the current version;
- restart the local preview;
- reload the browser page.
The page may lose its connection while the preview restarts. It waits for the new process and reloads after the server answers.
A container, source checkout or read-only installation may require another update method. The status line tells you what to do for that installation.
Updates keep the font workspace and its settings. This includes:
- source fonts;
- family config files;
- built
.cpfontfiles; - downloaded fallback faces;
update.conf.
CrossGlyph also protects editable templates and Docker configuration. If you
changed a shipped file, the update places the new copy beside it with a .new
suffix.
Rollback is a command-line operation. It selects the previous retained release. See Updates on the command line.
After a rollback, automatic checks do not offer the release you left. A newer release will appear normally. Check now still reports the release you left and explains why the automatic check did not offer it.
update.conf is beside the launcher. These keys control automatic checks:
| Key | Default | Meaning |
|---|---|---|
check |
yes |
Set to no to disable automatic checks. |
interval_hours |
24 |
Hours between checks. |
keep_versions |
1 |
Installed versions kept beside the active version. |
Example:
check = noTurning off automatic checks does not disable Check now, Update or the matching commands. Those actions start only when you request them.
Environment variables and the one-command option are listed in Command line.
An automatic check sends one HTTPS request for latest.json. The file contains
the newest release number and download information.
The request does not include an installation ID, the installed CrossGlyph version or a usage count. Installing an update adds one request for the release archive.
CrossGlyph stores the last check result in .update-state.json beside the
launcher. Deleting that file resets the recorded check time and rollback choice.