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
checkcommand, backed by aSourcebuilt fromconfigand held as managed state so the cache inSource::gatesurvives across calls.