Skip to content

Commit

Permalink
docs(updater): fix configure missing required key (tauri-apps#5058)
Browse files Browse the repository at this point in the history
Co-authored-by: Lucas Fernandes Nogueira <[email protected]>
  • Loading branch information
A-kirami and lucasfernog authored Sep 3, 2022
1 parent 4cd8507 commit 14f337d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/tauri/src/updater/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,19 @@
//! "https://releases.myapp.com/{target}}/{current_version}}"
//! ],
//! "dialog": true,
//! "pubkey": ""
//! "pubkey": "YOUR_UPDATER_PUBLIC_KEY_HERE"
//! }
//! ```
//!
//! The required keys are "active" and "endpoints", others are optional.
//! The required keys are "active", "endpoints" and "pubkey"; others are optional.
//!
//! "active" must be a boolean. By default, it's set to false.
//!
//! "endpoints" must be an array. The string `{{target}}` and `{{current_version}}` are automatically replaced in the URL allowing you determine [server-side](#update-server-json-format) if an update is available. If multiple endpoints are specified, the updater will fallback if a server is not responding within the optional timeout.
//!
//! "dialog" if present must be a boolean. By default, it's set to true. If enabled, [events](#events) are turned-off as the updater will handle everything. If you need the custom events, you MUST turn off the built-in dialog.
//!
//! "pubkey" if present must be a valid public-key generated with Tauri cli. See [Signing updates](#signing-updates).
//! "pubkey" must be a valid public-key generated with Tauri cli. See [Signing updates](#signing-updates).
//!
//! ## Update Requests
//!
Expand Down

0 comments on commit 14f337d

Please sign in to comment.