mirror of
https://github.com/moghtech/komodo.git
synced 2025-12-05 19:17:36 -06:00
Change amd64 to arm64 to prevent installing aarch64 binary on an x86_64 system. (#357)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user