refactor remote interface

This commit is contained in:
csf
2022-08-31 16:31:31 +08:00
parent 694896abda
commit bdcb848a75
7 changed files with 826 additions and 408 deletions

View File

@@ -146,7 +146,7 @@ pub fn start(args: &mut [String]) {
let args: Vec<String> = iter.map(|x| x.clone()).collect();
frame.set_title(&id);
frame.register_behavior("native-remote", move || {
Box::new(remote::Handler::new(
Box::new(remote::SciterSession::new(
cmd.clone(),
id.clone(),
pass.clone(),