Skip to content

Commit 8a8f449

Browse files
authored
feat: support M1/M2 mac (browser-actions#426)
1 parent 905ab04 commit 8a8f449

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/platform.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ export const getArch = (): Arch => {
4343
return Arch.I686;
4444
case "x64":
4545
return Arch.AMD64;
46+
case "arm64":
47+
return Arch.ARM64;
4648
}
4749
throw new Error(`Unsupported arch: ${arch}`);
4850
};

0 commit comments

Comments
 (0)