Skip to content

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

updated get_new_version for ui

Sahil Yeolef41cb0d81c67
diff --git a/src/ui_interface.rs b/src/ui_interface.rs
index 7e1b3a9bb..6c0d38354 100644
--- a/src/ui_interface.rs
+++ b/src/ui_interface.rs
@@ -594,7 +594,8 @@ pub fn current_is_wayland() -> bool {
#[inline]
pub fn get_new_version() -> String {
- hbb_common::get_version_from_url(&*SOFTWARE_UPDATE_URL.lock().unwrap())
+ // hbb_common::get_version_from_url(&*SOFTWARE_UPDATE_URL.lock().unwrap())
+ (*SOFTWARE_UPDATE_URL.lock().unwrap().rsplit('/').next().unwrap_or("")).to_string()
}
#[inline]