Skip to main content

Crate tauri_plugin_update_gate

Crate tauri_plugin_update_gate 

Source
Expand description

tauri-plugin-update-gate: reads a JSON document over HTTP and tells an app whether the installed copy is too old to run.

Structs§

Config
Where to fetch the document from, how long to trust a cached copy, and how long to wait for the network before giving up.
Gate
The gate’s verdict, shaped for direct serialisation to the app.

Enums§

State
Where the running copy stands relative to the document’s versions.

Functions§

init
Registers the check command, backed by a Source built from config and held as managed state so the cache in Source::gate survives across calls.