Fix the new update check
This commit is contained in:
parent
2de0f65728
commit
084ab77290
1 changed files with 1 additions and 1 deletions
|
@ -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`
|
||||
|
|
Loading…
Reference in a new issue