Merge commit from fork

This commit is contained in:
Lucas Fernandes Nogueira
2026-09-19 21:00:36 -03:00
committed by GitHub
parent 690dcfd694
commit 1308bfa399
5 changed files with 41 additions and 8 deletions
+5
View File
@@ -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",