mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
@@ -495,7 +495,7 @@ impl<T: InvokeUiCM> IpcTaskRunner<T> {
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
#[tokio::main(flavor = "current_thread")]
|
||||
pub async fn start_ipc<T: InvokeUiCM>(cm: ConnectionManager<T>) {
|
||||
#[cfg(windows)]
|
||||
#[cfg(all(windows, feature = "privacy_win_mag"))]
|
||||
std::thread::spawn(move || {
|
||||
log::info!("try create privacy mode window");
|
||||
if let Err(e) = crate::platform::windows::check_update_broker_process() {
|
||||
@@ -504,7 +504,7 @@ pub async fn start_ipc<T: InvokeUiCM>(cm: ConnectionManager<T>) {
|
||||
e
|
||||
);
|
||||
}
|
||||
allow_err!(crate::win_privacy::start());
|
||||
allow_err!(crate::privacy_mode::privacy_win_mag::start());
|
||||
});
|
||||
|
||||
match ipc::new_listener("_cm").await {
|
||||
|
||||
Reference in New Issue
Block a user