Merge pull request #1469 from fufesou/fix_build_220907

sciter: fix build windows
This commit is contained in:
RustDesk 2022-09-08 07:50:52 +08:00 committed by GitHub
commit 93236bb3cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,8 +107,7 @@ pub fn start(args: &mut [String]) {
} }
#[cfg(windows)] #[cfg(windows)]
if args.len() > 0 && args[0] == "--tray" { if args.len() > 0 && args[0] == "--tray" {
let options = check_connect_status(false).1; crate::tray::start_tray(crate::ui_interface::OPTIONS.clone());
crate::tray::start_tray(options);
return; return;
} }
use sciter::SCRIPT_RUNTIME_FEATURES::*; use sciter::SCRIPT_RUNTIME_FEATURES::*;