You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/tauri/src/updater/mod.rs
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@
34
34
//!
35
35
//! "active" must be a boolean. By default, it's set to false.
36
36
//!
37
-
//! "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 pre-defined timeout.
37
+
//! "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.
38
38
//!
39
39
//! "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.
40
40
//!
@@ -444,6 +444,8 @@
444
444
mod core;
445
445
mod error;
446
446
447
+
use std::time::Duration;
448
+
447
449
pubuseself::error::Error;
448
450
/// Alias for [`std::result::Result`] using our own [`Error`].
0 commit comments