Skip to content

Commit 5ad7b28

Browse files
authored
Merge pull request #85 from grdryn/linux-aarch64
Fix for platform.machine() == aarch64 on Linux
2 parents 0149b60 + dc6c082 commit 5ad7b28

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: osia/installer/downloader/install.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343
def _current_platform():
4444
if platform.system() == "Linux" and platform.machine() == "x86_64":
4545
return "linux", "amd64"
46-
if platform.system() == "Linux" and platform.machine() == "arm64":
46+
if platform.system() == "Linux" and (
47+
platform.machine() == "arm64" or platform.machine() == "aarch64"):
4748
return "linux", "arm64"
4849
if platform.system() == "Darwin" and platform.machine() == "arm64":
4950
return "mac", "arm64"

0 commit comments

Comments
 (0)