- Electron 镜像
- 环境变量:ELECTRON_MIRROR="https://npmmirror.com/mirrors/electron/"
- .npmrc: NPM_CONFIG_ELECTRON_MIRROR="https://npmmirror.com/mirrors/electron/"
- Java
- MacOS
brew install openjdk
- 安装完成后根据提示把 java 可执行文件路径写入
~/.zshrc
source ~/.zshrc
- Windows 直接下载微软编译好的吧:https://learn.microsoft.com/en-us/java/openjdk/download