Skip to content

Commit 0069c2b

Browse files
committed
Check for arm64
1 parent 9ffcadf commit 0069c2b

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

certs.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,9 @@ function getExe() {
4343
case "darwin":
4444
return "mkcert-" + MKCERT_VERSION + "-darwin-amd64"
4545
case "linux":
46-
if (process.arch === "arm")
46+
if (process.arch === "arm" || process.arch === "arm64")
4747
return "mkcert-" + MKCERT_VERSION + "-linux-arm"
48-
if (process.arch === "x64")
49-
return "mkcert-" + MKCERT_VERSION + "-linux-amd64"
48+
else return "mkcert-" + MKCERT_VERSION + "-linux-amd64"
5049
/* falls through */
5150
case "win32":
5251
return "mkcert-" + MKCERT_VERSION + "-windows-amd64.exe"

0 commit comments

Comments
 (0)