Fix driver downloads on M1/M2 Macs

This commit is contained in:
Michael Mintz 2022-11-17 20:40:44 -05:00
parent 414a9cbd09
commit f114c0ff56
1 changed files with 2 additions and 2 deletions

View File

@ -232,7 +232,7 @@ def main(override=None, intel_for_uc=None):
if (
"arm" in platform.processor().lower()
and not intel_for_uc
and int(use_version) > 105
and int(use_version.split(".")[0]) > 105
):
file_name = "chromedriver_mac_arm64.zip"
else:
@ -402,7 +402,7 @@ def main(override=None, intel_for_uc=None):
elif "darwin" in sys_plat:
if (
"arm" in platform.processor().lower()
and int(use_version) > 104
and int(use_version.split(".")[0]) > 104
):
file_name = "edgedriver_mac64_m1.zip"
else: