⬇️ Downgrade to Electron v30.3.1 https://github.com/siyuan-note/siyuan/issues/12165
This commit is contained in:
parent
7979054595
commit
1b79c650ed
4 changed files with 15 additions and 15 deletions
6
.github/CONTRIBUTING.md
vendored
6
.github/CONTRIBUTING.md
vendored
|
@ -14,10 +14,10 @@ Install pnpm: `npm install -g pnpm@9.1.1`
|
|||
|
||||
Set the Electron mirror environment variable and install Electron:
|
||||
|
||||
* macOS/Linux: `ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ pnpm install electron@v31.3.1 -D`
|
||||
* macOS/Linux: `ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ pnpm install electron@v30.3.1 -D`
|
||||
* Windows:
|
||||
* `SET ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/`
|
||||
* `pnpm install electron@v31.3.1 -D`
|
||||
* `pnpm install electron@v30.3.1 -D`
|
||||
|
||||
NPM mirror:
|
||||
|
||||
|
@ -28,7 +28,7 @@ NPM mirror:
|
|||
|
||||
On the desktop, go to the app folder to run:
|
||||
|
||||
* `pnpm install electron@v31.3.1 -D`
|
||||
* `pnpm install electron@v30.3.1 -D`
|
||||
* `pnpm run dev`
|
||||
* `pnpm run start`
|
||||
|
||||
|
|
6
.github/CONTRIBUTING_zh_CN.md
vendored
6
.github/CONTRIBUTING_zh_CN.md
vendored
|
@ -16,11 +16,11 @@
|
|||
|
||||
* macOS/Linux:
|
||||
```
|
||||
ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ pnpm install electron@v31.3.1 -D
|
||||
ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ pnpm install electron@v30.3.1 -D
|
||||
```
|
||||
* Windows:
|
||||
* `SET ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/`
|
||||
* `pnpm install electron@v31.3.1 -D`
|
||||
* `pnpm install electron@v30.3.1 -D`
|
||||
|
||||
NPM 镜像:
|
||||
|
||||
|
@ -30,7 +30,7 @@ NPM 镜像:
|
|||
|
||||
桌面端进入 app 文件夹运行:
|
||||
|
||||
* `pnpm install electron@v31.3.1 -D`
|
||||
* `pnpm install electron@v30.3.1 -D`
|
||||
* `pnpm run dev`
|
||||
* `pnpm run start`
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
"clean-webpack-plugin": "^4.0.0",
|
||||
"css-loader": "^6.7.1",
|
||||
"dayjs": "^1.11.5",
|
||||
"electron": "31.3.1",
|
||||
"electron": "30.3.1",
|
||||
"electron-builder": "24.9.1",
|
||||
"encoding": "^0.1.13",
|
||||
"esbuild-loader": "^3.0.1",
|
||||
|
|
16
app/pnpm-lock.yaml
generated
16
app/pnpm-lock.yaml
generated
|
@ -10,7 +10,7 @@ importers:
|
|||
dependencies:
|
||||
'@electron/remote':
|
||||
specifier: ^2.1.2
|
||||
version: 2.1.2(electron@31.3.1)
|
||||
version: 2.1.2(electron@30.3.1)
|
||||
devDependencies:
|
||||
'@types/node':
|
||||
specifier: ^18.13.0
|
||||
|
@ -34,8 +34,8 @@ importers:
|
|||
specifier: ^1.11.5
|
||||
version: 1.11.5
|
||||
electron:
|
||||
specifier: 31.3.1
|
||||
version: 31.3.1
|
||||
specifier: 30.3.1
|
||||
version: 30.3.1
|
||||
electron-builder:
|
||||
specifier: 24.9.1
|
||||
version: 24.9.1
|
||||
|
@ -925,8 +925,8 @@ packages:
|
|||
electron-to-chromium@1.4.186:
|
||||
resolution: {integrity: sha512-YoVeFrGd/7ROjz4R9uPoND1K/hSRC/xADy9639ZmIZeJSaBnKdYx3I6LMPsY7CXLpK7JFgKQVzeZ/dk2br6Eaw==}
|
||||
|
||||
electron@31.3.1:
|
||||
resolution: {integrity: sha512-9fiuWlRhBfygtcT+auRd/WdBK/f8LZZcrpx0RjpXhH2DPTP/PfnkC4JB1PW55qCbGbh4wAgkYbf4ExIag8oGCA==}
|
||||
electron@30.3.1:
|
||||
resolution: {integrity: sha512-Ai/OZ7VlbFAVYMn9J5lyvtr+ZWyEbXDVd5wBLb5EVrp4352SRmMAmN5chcIe3n9mjzcgehV9n4Hwy15CJW+YbA==}
|
||||
engines: {node: '>= 12.20.55'}
|
||||
hasBin: true
|
||||
|
||||
|
@ -2249,9 +2249,9 @@ snapshots:
|
|||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
'@electron/remote@2.1.2(electron@31.3.1)':
|
||||
'@electron/remote@2.1.2(electron@30.3.1)':
|
||||
dependencies:
|
||||
electron: 31.3.1
|
||||
electron: 30.3.1
|
||||
|
||||
'@electron/universal@1.4.1':
|
||||
dependencies:
|
||||
|
@ -3142,7 +3142,7 @@ snapshots:
|
|||
|
||||
electron-to-chromium@1.4.186: {}
|
||||
|
||||
electron@31.3.1:
|
||||
electron@30.3.1:
|
||||
dependencies:
|
||||
'@electron/get': 2.0.2
|
||||
'@types/node': 20.14.5
|
||||
|
|
Loading…
Add table
Reference in a new issue