mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-22 21:30:44 +02:00
Merge commit from fork
This commit is contained in:
@@ -98,6 +98,11 @@ impl<R: Runtime, T: Manager<R>> UpdaterExt<R> for T {
|
||||
|
||||
builder.version_comparator = version_comparator.clone();
|
||||
|
||||
// a comparator set by the application takes precedence over the configuration
|
||||
if builder.version_comparator.is_none() && config.allow_downgrades {
|
||||
builder = builder.version_comparator(|current, update| update.version != current);
|
||||
}
|
||||
|
||||
#[cfg(any(
|
||||
target_os = "linux",
|
||||
target_os = "dragonfly",
|
||||
|
||||
Reference in New Issue
Block a user