refactor: update chromium after 100+ versions

This commit is contained in:
zhom
2025-06-19 08:57:48 +04:00
parent d314fa1f71
commit 7d74ac09d9
+2 -2
View File
@@ -101,7 +101,7 @@ impl AutoUpdater {
if let Some(update) = self.check_profile_update(&profile, &versions)? {
// Apply chromium threshold logic
if browser == "chromium" {
// For chromium, only show notifications if there are 50+ new versions
// For chromium, only show notifications if there are 100+ new versions
let current_version = &profile.version.parse::<u32>().unwrap();
let new_version = &update.new_version.parse::<u32>().unwrap();
@@ -109,7 +109,7 @@ impl AutoUpdater {
println!(
"Current version: {current_version}, New version: {new_version}, Result: {result}"
);
if result > 50 {
if result > 100 {
notifications.push(update);
} else {
println!(