fix: uninstall, idd (#13142)

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou 2025-10-11 21:14:21 -04:00 committed by GitHub
commit 3d8fc7ca7b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -446,6 +446,8 @@ pub mod amyuni_idd {
if crate::platform::windows::is_x64() {
log::info!("Uninstalling driver by deviceinstaller64.exe");
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(());
}
}