diff --git a/rust/src/config.rs b/rust/src/config.rs index dcc2a9b567cd9..76488a22d6250 100644 --- a/rust/src/config.rs +++ b/rust/src/config.rs @@ -47,11 +47,12 @@ impl ManagerConfig { pub fn default(browser_name: &str, driver_name: &str) -> ManagerConfig { let self_os = OS; let self_arch = if WINDOWS.is(self_os) { - if run_shell_command(self_os, WMIC_COMMAND_OS.to_string()) - .unwrap_or_default() - .contains("32") - { + let wmic_output = + run_shell_command(self_os, WMIC_COMMAND_OS.to_string()).unwrap_or_default(); + if wmic_output.contains("32") { ARCH_X86.to_string() + } else if wmic_output.contains("ARM") { + ARCH_ARM64.to_string() } else { ARCH_AMD64.to_string() }