From c3e2053bb69117c0bb2f26359a12db29f2d30ea6 Mon Sep 17 00:00:00 2001 From: feraxhp Date: Tue, 8 Oct 2024 05:04:12 +0000 Subject: [PATCH] build hotfix * check version --- src/update/check.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/update/check.rs b/src/update/check.rs index 81cb389..0897853 100644 --- a/src/update/check.rs +++ b/src/update/check.rs @@ -79,5 +79,5 @@ pub(crate) async fn get_latest_version() -> Result{ 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())) } \ No newline at end of file