From 084ab7729012b7d9ec09af416d50d883a9650bc2 Mon Sep 17 00:00:00 2001 From: TheAwiteb Date: Sun, 7 Jan 2024 21:51:22 +0300 Subject: [PATCH] Fix the new update check --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 995e750..31913ee 100644 --- a/src/main.rs +++ b/src/main.rs @@ -47,7 +47,7 @@ fn main() -> ExitCode { #[cfg(feature = "update-notify")] { match utils::lprs_version() { - Ok(Some(new_version)) if new_version == VERSION => { + Ok(Some(new_version)) if new_version != VERSION => { println!( "Warning: The version you are using of lprs is outdated. There is a newer version, which is `{new_version}`, and your version is `{VERSION}` \rYou can update via: `cargo install lprs --locked`