Skip to content

Commit

Permalink
♻️ Upgrade Electron Fix #9301
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Sep 28, 2023
1 parent 92467f2 commit d51b336
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 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.8.1 -D`
* macOS/Linux: `ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/ pnpm install electron@26.2.3 -D`
* Windows:
* `SET ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/`
* `pnpm install electron@25.8.1 -D`
* `pnpm install electron@26.2.3 -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.8.1 -D`
* `pnpm install electron@26.2.3 -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.8.1 -D
ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/ pnpm install electron@26.2.3 -D
```
* Windows:
* `SET ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/`
* `pnpm install electron@25.8.1 -D`
* `pnpm install electron@26.2.3 -D`

NPM 镜像:

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

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

* `pnpm install electron@25.8.1 -D`
* `pnpm install electron@26.2.3 -D`
* `pnpm run dev`
* `pnpm run start`

Expand Down
6 changes: 3 additions & 3 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Refactor your thinking",
"homepage": "https://b3log.org/siyuan",
"main": "./electron/main.js",
"packageManager": "pnpm@8.2.0",
"packageManager": "pnpm@8.8.0",
"scripts": {
"lint": "eslint . --fix --cache",
"dev": "webpack --mode development",
Expand Down Expand Up @@ -53,7 +53,7 @@
"clean-webpack-plugin": "^4.0.0",
"css-loader": "^6.7.1",
"dayjs": "^1.11.5",
"electron": "25.8.1",
"electron": "26.2.3",
"electron-builder": "^24.6.3",
"encoding": "^0.1.13",
"esbuild-loader": "^3.0.1",
Expand All @@ -74,6 +74,6 @@
"webpack-cli": "^4.10.0"
},
"dependencies": {
"@electron/remote": "^2.0.9"
"@electron/remote": "^2.0.11"
}
}
18 changes: 9 additions & 9 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 d51b336

Please sign in to comment.