mirror of
https://github.com/moghtech/komodo.git
synced 2026-03-11 17:44:19 -05:00
periphery -> periphery-x86_64 setup script
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user