From 2cb096178af35e5fb7dff5ebeccc7037db22a754 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Tue, 22 Apr 2025 22:05:46 +0800 Subject: [PATCH] ifix PRO --- src/hbbs_http/sync.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/hbbs_http/sync.rs b/src/hbbs_http/sync.rs index 5a0734027..21689e2e8 100644 --- a/src/hbbs_http/sync.rs +++ b/src/hbbs_http/sync.rs @@ -119,9 +119,11 @@ async fn start_hbbs_sync_async() { Ok(x) => { sysinfo_ver = x.clone(); x == ver + *PRO.lock().unwrap() = true; } _ => { - true // if failed to get sysinfo_ver, we assume it's the same version + false // to make sure Pro can be assigned in below post for old + // hbbs pro not supporting sysinfo_ver } }; if samever {