From bb63892e1022014e6b8fab2e275ae1e9c186a793 Mon Sep 17 00:00:00 2001 From: mbecker20 Date: Mon, 2 Dec 2024 03:31:55 -0500 Subject: [PATCH] periphery -> periphery-x86_64 setup script --- scripts/setup-periphery.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/setup-periphery.py b/scripts/setup-periphery.py index fe03a4ecb..c2a1d43bc 100644 --- a/scripts/setup-periphery.py +++ b/scripts/setup-periphery.py @@ -66,11 +66,13 @@ def copy_binary(user_install, bin_dir, version): if os.path.isfile(bin_path): os.remove(bin_path) - periphery_bin = "periphery" + periphery_bin = "periphery-x86_64" arch = platform.machine().lower() if arch == "aarch64" or arch == "amd64": print("aarch64 detected") periphery_bin = "periphery-aarch64" + else: + print("using x86_64 binary") # download the binary to bin path print(os.popen(f'curl -sSL https://github.com/mbecker20/komodo/releases/download/{version}/{periphery_bin} > {bin_path}').read())