Skip to content

Commit

Permalink
♻️ Upgrade Electron Fix #9611
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Nov 9, 2023
1 parent da16f74 commit 6950297
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,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@25.9.3 -D`
* macOS/Linux: `ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/ pnpm install electron@25.9.4 -D`
* Windows:
* `SET ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/`
* `pnpm install electron@25.9.3 -D`
* `pnpm install electron@25.9.4 -D`

NPM mirror:

Expand All @@ -30,7 +30,7 @@ NPM mirror:

On the desktop, go to the app folder to run:

* `pnpm install electron@25.9.3 -D`
* `pnpm install electron@25.9.4 -D`
* `pnpm run dev`
* `pnpm run start`

Expand Down
6 changes: 3 additions & 3 deletions .github/CONTRIBUTING_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@

* macOS/Linux:
```
ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/ pnpm install electron@25.9.3 -D
ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/ pnpm install electron@25.9.4 -D
```
* Windows:
* `SET ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/`
* `pnpm install electron@25.9.3 -D`
* `pnpm install electron@25.9.4 -D`

NPM 镜像:

Expand All @@ -32,7 +32,7 @@ NPM 镜像:

桌面端进入 app 文件夹运行:

* `pnpm install electron@25.9.3 -D`
* `pnpm install electron@25.9.4 -D`
* `pnpm run dev`
* `pnpm run start`

Expand Down
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"clean-webpack-plugin": "^4.0.0",
"css-loader": "^6.7.1",
"dayjs": "^1.11.5",
"electron": "25.9.3",
"electron": "25.9.4",
"electron-builder": "^24.6.3",
"encoding": "^0.1.13",
"esbuild-loader": "^3.0.1",
Expand Down
14 changes: 7 additions & 7 deletions app/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6950297

Please sign in to comment.