fix mac flutter build issue, ipc not working yet

This commit is contained in:
rustdesk
2022-09-16 00:32:34 +08:00
parent 5f6619080f
commit ccdd01eed0
6 changed files with 22 additions and 186 deletions

View File

@@ -124,7 +124,7 @@ pub fn core_main() -> Option<Vec<String>> {
}
#[cfg(target_os = "macos")]
{
std::thread::spawn(move || start_server(true));
std::thread::spawn(move || crate::start_server(true));
// to-do: for flutter, starting tray not ready yet, or we can reuse sciter's tray implementation.
}
} else if args[0] == "--import-config" {