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
parent 246b5b93f8
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(());
}
}