mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
🎨 Upgrade to Electron v35.4.0 https://github.com/siyuan-note/siyuan/issues/14926
This commit is contained in:
parent
91b337f896
commit
a180698428
4 changed files with 27 additions and 21 deletions
10
.github/CONTRIBUTING_zh_CN.md
vendored
10
.github/CONTRIBUTING_zh_CN.md
vendored
|
@ -7,17 +7,17 @@
|
|||
|
||||
## NPM 依赖
|
||||
|
||||
安装 pnpm:`npm install -g pnpm@10.8.0`
|
||||
安装 pnpm:`npm install -g pnpm@10.11.0`
|
||||
|
||||
<details>
|
||||
<summary>适用于中国大陆</summary>
|
||||
|
||||
设置 Electron 镜像环境变量并安装 Electron:
|
||||
|
||||
* macOS/Linux:`ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ pnpm install electron@v35.3.0 -D`
|
||||
* macOS/Linux:`ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ pnpm install electron@v35.4.0 -D`
|
||||
* Windows:
|
||||
* `SET ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/`
|
||||
* `pnpm install electron@v35.3.0 -D`
|
||||
* `pnpm install electron@v35.4.0 -D`
|
||||
|
||||
NPM 镜像:
|
||||
|
||||
|
@ -25,9 +25,9 @@ NPM 镜像:
|
|||
* 恢复使用官方仓库 `pnpm --registry https://registry.npmjs.org i`
|
||||
</details>
|
||||
|
||||
桌面端进入 app 文件夹运行:
|
||||
进入 app 文件夹执行:
|
||||
|
||||
* `pnpm install electron@v35.3.0-D`
|
||||
* `pnpm install electron@v35.4.0 -D`
|
||||
* `pnpm run dev`
|
||||
* `pnpm run start`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue