From ef008543076dce3189364ed9296d20b7e55f9447 Mon Sep 17 00:00:00 2001 From: zhom <2717306+zhom@users.noreply.github.com> Date: Sat, 31 May 2025 17:19:29 +0400 Subject: [PATCH] build: don't check for updates on dev version --- src-tauri/src/app_auto_updater.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src-tauri/src/app_auto_updater.rs b/src-tauri/src/app_auto_updater.rs index 809e160..c4287b4 100644 --- a/src-tauri/src/app_auto_updater.rs +++ b/src-tauri/src/app_auto_updater.rs @@ -170,6 +170,10 @@ impl AppAutoUpdater { /// Determine if an update should be performed fn should_update(&self, current_version: &str, new_version: &str, is_nightly: bool) -> bool { + if current_version.starts_with("dev-") { + return false; + } + println!( "Comparing versions: current={current_version}, new={new_version}, is_nightly={is_nightly}" );