This commit is contained in:
Vanessa 2022-11-22 21:54:52 +08:00
parent 9337cb6657
commit e354fcd39c
8 changed files with 32 additions and 30 deletions

View file

@ -14,7 +14,10 @@
设置 Electron 镜像环境变量并安装 Electron
* macOS/Linux: `ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/ pnpm install electron@21.3.0 -D`
* macOS/Linux:
```
ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/ pnpm install electron@21.3.0 -D
```
* Windows:
* `SET ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/`
* `pnpm install electron@21.3.0 -D`