mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-25 19:54:07 +03:00
fix(cli): actually check if there are multiple android devices connected (#10642)
This commit is contained in:
parent
d0510f52eb
commit
255d64e3dc
@ -110,7 +110,7 @@ pub fn command(options: Options) -> Result<()> {
|
||||
device.name(),
|
||||
)
|
||||
})?;
|
||||
} else {
|
||||
} else if devices.len() > 1 {
|
||||
anyhow::bail!("Multiple Android devices are connected ({}), please disconnect devices you do not intend to use so Tauri can determine which to use",
|
||||
devices.iter().map(|d| d.name()).collect::<Vec<_>>().join(", "));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user