mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-17 13:35:50 +00:00
@@ -423,7 +423,7 @@ impl<T: InvokeUiCM> IpcTaskRunner<T> {
|
||||
Data::ClipboardFileEnabled(_enabled) => {
|
||||
#[cfg(windows)]
|
||||
{
|
||||
self.file_transfer_enabled_peer =_enabled;
|
||||
self.file_transfer_enabled_peer = _enabled;
|
||||
}
|
||||
}
|
||||
Data::Theme(dark) => {
|
||||
@@ -538,14 +538,6 @@ pub async fn start_ipc<T: InvokeUiCM>(cm: ConnectionManager<T>) {
|
||||
|
||||
#[cfg(target_os = "windows")]
|
||||
ContextSend::enable(Config::get_option("enable-file-transfer").is_empty());
|
||||
#[cfg(feature = "flutter")]
|
||||
{
|
||||
clipboard::set_notify_callback(crate::flutter::msgbox_clipboard_cm);
|
||||
}
|
||||
#[cfg(not(feature = "flutter"))]
|
||||
{
|
||||
// notify callback for non-flutter is not supported.
|
||||
}
|
||||
|
||||
match ipc::new_listener("_cm").await {
|
||||
Ok(mut incoming) => {
|
||||
|
||||
Reference in New Issue
Block a user