Change amd64 to arm64 to prevent installing aarch64 binary on an x86_64 system. (#357)

This commit is contained in:
Maarten Kossen
2025-03-12 22:20:49 -04:00
committed by GitHub
parent e385c6e722
commit 9c841e5bdc

View File

@@ -68,7 +68,7 @@ def copy_binary(user_install, bin_dir, version):
periphery_bin = "periphery-x86_64"
arch = platform.machine().lower()
if arch == "aarch64" or arch == "amd64":
if arch == "aarch64" or arch == "arm64":
print("aarch64 detected")
periphery_bin = "periphery-aarch64"
else: