Skip to content

Commit

Permalink
feat: support M1/M2 mac (#426)
Browse files Browse the repository at this point in the history
  • Loading branch information
ueokande authored Nov 11, 2023
1 parent 905ab04 commit 8a8f449
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ export const getArch = (): Arch => {
return Arch.I686;
case "x64":
return Arch.AMD64;
case "arm64":
return Arch.ARM64;
}
throw new Error(`Unsupported arch: ${arch}`);
};
Expand Down

0 comments on commit 8a8f449

Please sign in to comment.