Skip to content

Commit

Permalink
Map arm64 to aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
kylekthompson committed Oct 11, 2024
1 parent 326c517 commit b80c585
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ function getOs() {
function getArch() {
switch (process.arch) {
case 'x64': {
return 'x86-64'
return 'x86_64'
}
case 'arm64': {
return 'aarch64'
}
default: {
return process.arch
Expand Down

0 comments on commit b80c585

Please sign in to comment.