Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

fix ci

rustdesk736503df1bfd
diff --git a/src/flutter_ffi.rs b/src/flutter_ffi.rs
index 36b25708a..d29fc032d 100644
--- a/src/flutter_ffi.rs
+++ b/src/flutter_ffi.rs
@@ -2125,7 +2125,8 @@ pub mod server_side {
}
if let Ok(custom_client_config) = env.get_string(&custom_client_config) {
if !custom_client_config.is_empty() {
- crate::read_custom_client(custom_client_config.into());
+ let custom_client_config: String = custom_client_config.into();
+ crate::read_custom_client(&custom_client_config);
}
}
std::thread::spawn(move || start_server(true));