This commit is contained in:
Liang Ding 2023-02-26 09:03:12 +08:00
parent c9d9a4e399
commit 91096274c7
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
4 changed files with 14 additions and 14 deletions

View file

@ -14,10 +14,10 @@ Install pnpm: `npm install -g pnpm`
Set the Electron mirror environment variable and install Electron:
* macOS/Linux: `ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/ pnpm install electron@21.4.1 -D`
* macOS/Linux: `ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/ pnpm install electron@21.4.2 -D`
* Windows:
* `SET ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/`
* `pnpm install electron@21.4.1 -D`
* `pnpm install electron@21.4.2 -D`
NPM mirror:
@ -28,7 +28,7 @@ NPM mirror:
On the desktop, go to the app folder to run:
* `pnpm install electron@21.4.1 -D`
* `pnpm install electron@21.4.2 -D`
* `pnpm run dev`
* `pnpm run start`