Skip to main content
← rust.krizaka.comkrizaka.com

require_pubkey

Function require_pubkey 

Source
pub fn require_pubkey(updater: Option<&Value>) -> Result<(), MissingPubkey>
Expand description

The app’s updater configuration (plugins.updater of tauri.conf.json, None when it has none) holds a public key.

Called before the kit offers a feed or when the app configures the updater: without a key, nothing would check what the feed points to.