Fix driver downloads on M1/M2 Macs
This commit is contained in:
parent
414a9cbd09
commit
f114c0ff56
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue