Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

ifix PRO

rustdesk2cb096178af3
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 {