This commit is contained in:
Daniel 2024-02-23 11:16:22 +08:00
parent 6340dfc590
commit b2e7cc1204
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 6 additions and 6 deletions

View file

@ -16,10 +16,10 @@ Install pnpm: `npm install -g pnpm`
Set the Electron mirror environment variable and install Electron:
* macOS/Linux: `ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ pnpm install electron@28.2.1 -D`
* macOS/Linux: `ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ pnpm install electron@29.0.1 -D`
* Windows:
* `SET ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/`
* `pnpm install electron@28.2.1 -D`
* `pnpm install electron@29.0.1 -D`
NPM mirror:
@ -30,7 +30,7 @@ NPM mirror:
On the desktop, go to the app folder to run:
* `pnpm install electron@28.2.1 -D`
* `pnpm install electron@29.0.1 -D`
* `pnpm run dev`
* `pnpm run start`

View file

@ -18,11 +18,11 @@
* macOS/Linux:
```
ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ pnpm install electron@28.2.1 -D
ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ pnpm install electron@29.0.1 -D
```
* Windows:
* `SET ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/`
* `pnpm install electron@28.2.1 -D`
* `pnpm install electron@29.0.1 -D`
NPM 镜像:
@ -32,7 +32,7 @@ NPM 镜像:
桌面端进入 app 文件夹运行:
* `pnpm install electron@28.2.1 -D`
* `pnpm install electron@29.0.1 -D`
* `pnpm run dev`
* `pnpm run start`