Skip to content

Commit

Permalink
build hotfix * check version
Browse files Browse the repository at this point in the history
  • Loading branch information
feraxhp committed Oct 8, 2024
1 parent 4035a2c commit c3e2053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/update/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,5 @@ pub(crate) async fn get_latest_version() -> Result<Version, Error>{
pub(crate) async fn validate_version() -> Result<(bool, Version), Error> {
let current_version = format!("v{}", crate_version!());
let version = get_latest_version().await?;
Ok(((current_version >= version.name) && version.clone().assets.is_empty(), version.clone()))
Ok(((current_version > version.name) && version.clone().assets.is_empty(), version.clone()))
}

0 comments on commit c3e2053

Please sign in to comment.