From 14f337d8addc1313b332151083d57fd127615a00 Mon Sep 17 00:00:00 2001 From: Akirami <66513481+A-kirami@users.noreply.github.com> Date: Sat, 3 Sep 2022 11:47:33 +0800 Subject: [PATCH] docs(updater): fix configure missing required key (#5058) Co-authored-by: Lucas Fernandes Nogueira --- core/tauri/src/updater/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/tauri/src/updater/mod.rs b/core/tauri/src/updater/mod.rs index 6b39bc958099..213696c32966 100644 --- a/core/tauri/src/updater/mod.rs +++ b/core/tauri/src/updater/mod.rs @@ -26,11 +26,11 @@ //! "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. //! @@ -38,7 +38,7 @@ //! //! "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 //!