build: don't check for updates on dev version

This commit is contained in:
zhom
2025-05-31 17:19:29 +04:00
parent 03d915e5c7
commit ef00854307
+4
View File
@@ -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}"
);