mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-06 08:11:29 +03:00
fix: uninstall, idd (#13142)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -446,6 +446,8 @@ pub mod amyuni_idd {
|
|||||||
if crate::platform::windows::is_x64() {
|
if crate::platform::windows::is_x64() {
|
||||||
log::info!("Uninstalling driver by deviceinstaller64.exe");
|
log::info!("Uninstalling driver by deviceinstaller64.exe");
|
||||||
install_if_x86_on_x64(&work_dir, "remove usbmmidd")?;
|
install_if_x86_on_x64(&work_dir, "remove usbmmidd")?;
|
||||||
|
// Sleep some time to wait for the driver to be uninstalled.
|
||||||
|
std::thread::sleep(Duration::from_secs(2));
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user