mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
desktop tab lable format: id/alias@hostname
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -729,9 +729,9 @@ pub fn main_store_fav(favs: Vec<String>) {
|
||||
store_fav(favs)
|
||||
}
|
||||
|
||||
pub fn main_get_peer(id: String) -> String {
|
||||
pub fn main_get_peer_sync(id: String) -> SyncReturn<String> {
|
||||
let conf = get_peer(id);
|
||||
serde_json::to_string(&conf).unwrap_or("".to_string())
|
||||
SyncReturn(serde_json::to_string(&conf).unwrap_or("".to_string()))
|
||||
}
|
||||
|
||||
pub fn main_get_lan_peers() -> String {
|
||||
|
||||
Reference in New Issue
Block a user