fix dialog res bug ; add desktop restart remote device

This commit is contained in:
csf committed 2022-08-15 20:29:51 +08:00
1 parent 3e702c834a
commit f99ab7d0a7
7 files changed
+51 -47

No files matched your search

+3 -2
View File
@@ -696,8 +696,9 @@ pub fn session_send_mouse(id: String, msg: String) {
}
pub fn session_restart_remote_device(id: String) {
// TODO
// Session::restart_remote_device();
if let Some(session) = SESSIONS.read().unwrap().get(&id) {
session.restart_remote_device();
}
}
pub fn main_set_home_dir(home: String) {