feat: cleaner UI for version detection

This commit is contained in:
neoapps-dev
2026-04-30 18:35:39 +03:00
parent b589e43d3e
commit 1ecc47c32f
6 changed files with 58 additions and 26 deletions
+1 -1
View File
@@ -1282,7 +1282,7 @@ async fn check_game_update(app: AppHandle, instance_id: String, url: String) ->
let local_timestamp = fs::read_to_string(&timestamp_file).unwrap_or_default();
if local_timestamp.is_empty() {
return Ok(false);
return Ok(true);
}
let response = reqwest::Client::new().head(&url).send().await.map_err(|e| e.to_string())?;