mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-16 20:27:05 +03:00
Handle special mac arm64 official installer case
This commit is contained in:
@@ -135,6 +135,11 @@ def get_qt_installers() -> dict[str, str]:
|
||||
# Most likely for macOS which might just say "mac" without arch
|
||||
installers[os_type] = filename
|
||||
|
||||
# macOS arm64 special case, as no official arm64 installer exists
|
||||
# it should not override the arm64 installer if it appears later
|
||||
if installers["mac-x64"] and not installers["mac-arm64"]:
|
||||
installers["mac-arm64"] = installers["mac-x64"]
|
||||
|
||||
return installers
|
||||
|
||||
except requests.exceptions.RequestException as e:
|
||||
|
||||
Reference in New Issue
Block a user