Expand description
The update channel of a Mac app: stable by default, beta when the person (or the product’s admin) chooses it.
The channel is data: the product gives the feed address as a template with {channel} (for instance
https://github.com/krizaka/verikora/releases/download/desktop-{channel}/latest.json), the kit fills it.
What the kit wires, and what it does not:
- it stores the channel on the Mac and gives the feed of that channel (
feed_url: HTTPS, no credentials, names the channel); - it downloads nothing and installs nothing. An app that ships updates registers Tauri’s updater plugin itself, and
that plugin checks each download against the
pubkeyof the app’splugins.updaterconfiguration; - so the kit refuses to start when the app gives a feed, or configures the updater, without a public key
(
require_pubkey): a feed address alone must never be able to install anything.
Structs§
- Missing
Pubkey - The app configures the updater (or gives a feed) without a public key.
- Unknown
Channel - The text is not the name of a channel. The text is not repeated: it came from outside.
Enums§
Functions§
- feed_
url - The feed of
channel: the template with{channel}filled in. The template must be an HTTPS address without credentials and must name the channel, so a beta build never reads the stable feed by mistake. - require_
pubkey - The app’s updater configuration (
plugins.updateroftauri.conf.json,Nonewhen it has none) holds a public key.