Bug description
Does not support M1 Chip's mac.
To Reproduce
Steps to reproduce the behavior:
- Install package
- Using this package in M1 Mac
Expected behavior
Supports M1 Chip's Mac.
System information (please complete the following information):
- OS: MacOS Ventura 13.0
- App version 4.7.1
Additional context
Similar questions: #37
I checked the code about this question, There seems to be no support.
case "darwin":
return "mkcert-" + MKCERT_VERSION + "-darwin-amd64"
case "linux":
if (process.arch === "arm" || process.arch === "arm64")
return "mkcert-" + MKCERT_VERSION + "-linux-arm"
else return "mkcert-" + MKCERT_VERSION + "-linux-amd64"
Here is my code in project.
import httpsLocalhost from 'https-localhost';
const httpServer = httpsLocalhost();
certs = await httpServer.getCerts();
That's my log about process.arch and process.platform:
console.log(process.arch, process.platform);
<- arm64 darwin
Bug description
Does not support M1 Chip's mac.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Supports M1 Chip's Mac.
System information (please complete the following information):
Additional context
Similar questions: #37
I checked the code about this question, There seems to be no support.
Here is my code in project.
That's my log about
process.archandprocess.platform: