From 7d74ac09d98ef2ba758433189d30dd3f314a7474 Mon Sep 17 00:00:00 2001 From: zhom <2717306+zhom@users.noreply.github.com> Date: Thu, 19 Jun 2025 08:57:48 +0400 Subject: [PATCH] refactor: update chromium after 100+ versions --- src-tauri/src/auto_updater.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src-tauri/src/auto_updater.rs b/src-tauri/src/auto_updater.rs index aec4bc4..6520614 100644 --- a/src-tauri/src/auto_updater.rs +++ b/src-tauri/src/auto_updater.rs @@ -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::().unwrap(); let new_version = &update.new_version.parse::().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!(