Skip to content

Commit

Permalink
Merge pull request #85 from grdryn/linux-aarch64
Browse files Browse the repository at this point in the history
Fix for platform.machine() == aarch64 on Linux
  • Loading branch information
mdujava authored Dec 20, 2024
2 parents 0149b60 + dc6c082 commit 5ad7b28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion osia/installer/downloader/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
def _current_platform():
if platform.system() == "Linux" and platform.machine() == "x86_64":
return "linux", "amd64"
if platform.system() == "Linux" and platform.machine() == "arm64":
if platform.system() == "Linux" and (
platform.machine() == "arm64" or platform.machine() == "aarch64"):
return "linux", "arm64"
if platform.system() == "Darwin" and platform.machine() == "arm64":
return "mac", "arm64"
Expand Down

0 comments on commit 5ad7b28

Please sign in to comment.