Clean up check for ARM build
This commit is contained in:
parent
cb054f92b8
commit
5ea557e0a3
@ -175,7 +175,9 @@ def getScytherBackend():
|
|||||||
# Check if there is an ARM version available at scyther-mac-arm
|
# Check if there is an ARM version available at scyther-mac-arm
|
||||||
# Otherwise, just fallback to the default scyther-mac which is the
|
# Otherwise, just fallback to the default scyther-mac which is the
|
||||||
# Intel version for backwards-compatibility reasons.
|
# Intel version for backwards-compatibility reasons.
|
||||||
if platform.processor().startswith("arm") and os.path.exists(getBinDir(),"scyther-mac-arm"):
|
has_arm_build = os.path.exists(os.path.join(getBinDir(),"scyther-mac-arm"))
|
||||||
|
|
||||||
|
if platform.processor().startswith("arm") and has_arm_build:
|
||||||
scythername = "scyther-mac-arm"
|
scythername = "scyther-mac-arm"
|
||||||
else:
|
else:
|
||||||
scythername = "scyther-mac"
|
scythername = "scyther-mac"
|
||||||
|
Loading…
Reference in New Issue
Block a user