File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ const exec = require("child_process").exec
66const https = require ( "https" )
77const getAppDataPath = require ( "appdata-path" )
88
9- const MKCERT_VERSION = "v1.4.3 "
9+ const MKCERT_VERSION = "v1.4.4 "
1010const CERT_PATH = getAppDataPath ( "https-localhost" )
1111
1212// check for updates
@@ -41,7 +41,9 @@ function getExe() {
4141 /* istanbul ignore next: tested on all platform on travis */
4242 switch ( process . platform ) {
4343 case "darwin" :
44- return "mkcert-" + MKCERT_VERSION + "-darwin-amd64"
44+ if ( process . arch === "arm" || process . arch === "arm64" )
45+ return "mkcert-" + MKCERT_VERSION + "-darwin-arm64"
46+ else return "mkcert-" + MKCERT_VERSION + "-darwin-amd64"
4547 case "linux" :
4648 if ( process . arch === "arm" || process . arch === "arm64" )
4749 return "mkcert-" + MKCERT_VERSION + "-linux-arm"
You can’t perform that action at this time.
0 commit comments