Fix check arm system

This commit is contained in:
Oleg Korshul
2025-04-23 14:35:34 +03:00
parent 702a83c010
commit a9bad0d5b7

View File

@ -1813,8 +1813,10 @@ def get_autobuild_version(product, platform="", branch="", build=""):
download_platform = platform
if ("" == download_platform):
osType = get_platform()
isArm = True if (-1 != osType.find("arm")) else False
is64 = True if (osType.endswith("64")) else False
isArm = False
if (-1 != osType.find("arm")) or (-1 != osType.find("aarch64")):
isArm = True
if ("windows" == host_platform()):
download_platform = "win-"