Skip to content

Commit f2e8982

Browse files
Merge pull request #3 from realtimeprojects/aarch64
support aarch64 architecture.
2 parents 9e3e45a + 02619e9 commit f2e8982

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ffmpeg_downloader/_linux.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,13 @@
1212

1313
# last one gets picked
1414
asset_priority = ["amd64", "i686", "arm64", "armhf", "armel"]
15+
mapping = {
16+
"aarch64": "arm64"
17+
}
1518

1619
# place the matching cpu arch first (need test)
1720
arch = platform.machine()
21+
arch = mapping.get(arch, arch) # resolve alias
1822
try:
1923
# TODO - adjust as feedback for different architecture is provided
2024
i = asset_priority.index(arch)

0 commit comments

Comments
 (0)