Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:recycle: Upgrade to Electron v41.7.1 https://github.com/siyuan-note/siyuan/issues/17617

Daniel410dcc17570b
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index 74f2b4a8e8..0a63368fb2 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -8,17 +8,17 @@
## NPM dependencies
-Install pnpm: `npm install -g [email protected]`
+Install pnpm: `npm install -g [email protected]`
<details>
<summary>For China mainland</summary>
Set the Electron mirror environment variable and install Electron:
-* macOS/Linux: `ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ pnpm install [email protected] -D`
+* macOS/Linux: `ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ pnpm install [email protected] -D`
* Windows:
* `SET ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/`
- * `pnpm install [email protected] -D`
+ * `pnpm install [email protected] -D`
NPM mirror:
@@ -28,7 +28,7 @@ NPM mirror:
Enter the app folder and execute:
-* `pnpm install [email protected] -D`
+* `pnpm install [email protected] -D`
* `pnpm run dev`
* `pnpm run start`
diff --git a/.github/CONTRIBUTING_zh_CN.md b/.github/CONTRIBUTING_zh_CN.md
index f0e14bd0e7..d14c79cf52 100644
--- a/.github/CONTRIBUTING_zh_CN.md
+++ b/.github/CONTRIBUTING_zh_CN.md
@@ -8,17 +8,17 @@
## NPM 依赖
-安装 pnpm:`npm install -g [email protected]`
+安装 pnpm:`npm install -g [email protected]`
<details>
<summary>适用于中国大陆</summary>
设置 Electron 镜像环境变量并安装 Electron:
-* macOS/Linux:`ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ pnpm install [email protected] -D`
+* macOS/Linux:`ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ pnpm install [email protected] -D`
* Windows:
* `SET ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/`
- * `pnpm install [email protected] -D`
+ * `pnpm install [email protected] -D`
NPM 镜像:
@@ -28,7 +28,7 @@ NPM 镜像:
进入 app 文件夹执行:
-* `pnpm install [email protected] -D`
+* `pnpm install [email protected] -D`
* `pnpm run dev`
* `pnpm run start`
diff --git a/app/package.json b/app/package.json
index 9bce80aebe..92d45a9f1b 100644
--- a/app/package.json
+++ b/app/package.json
@@ -4,7 +4,7 @@
"description": "Refactor your thinking",
"homepage": "https://b3log.org/siyuan",
"main": "./electron/main.js",
- "packageManager": "[email protected]",
+ "packageManager": "[email protected]",
"scripts": {
"lint": "eslint . --fix --cache",
"dev": "webpack --mode development",
@@ -58,7 +58,7 @@
"cross-env": "^10.1.0",
"css-loader": "^7.1.2",
"dayjs": "^1.11.5",
- "electron": "41.5.1",
+ "electron": "41.7.1",
"electron-builder": "26.0.12",
"encoding": "^0.1.13",
"esbuild-loader": "^3.0.1",
diff --git a/app/pnpm-lock.yaml b/app/pnpm-lock.yaml
index 7bc14e7320..e309ea2ac8 100644
--- a/app/pnpm-lock.yaml
+++ b/app/pnpm-lock.yaml
@@ -10,7 +10,7 @@ importers:
dependencies:
'@electron/remote':
specifier: ^2.1.3
- version: 2.1.3([email protected])
+ version: 2.1.3([email protected])
devDependencies:
'@eslint/eslintrc':
specifier: ^3.3.1
@@ -43,8 +43,8 @@ importers:
specifier: ^1.11.5
version: 1.11.20
electron:
- specifier: 41.5.1
- version: 41.5.1
+ specifier: 41.7.1
+ version: 41.7.1
electron-builder:
specifier: 26.0.12
version: 26.0.12([email protected])
@@ -1232,8 +1232,8 @@ packages:
resolution: {integrity: sha512-bO3y10YikuUwUuDUQRM4KfwNkKhnpVO7IPdbsrejwN9/AABJzzTQ4GeHwyzNSrVO+tEH3/Np255a3sVZpZDjvg==}
engines: {node: '>=8.0.0'}
- resolution: {integrity: sha512-l3sIu10LcXe38iNZMfTR4EKmVc1K3Luw5HBfjvd2xszj6DHhU4yuXqlb1wtSAt1+7QY817w/be59bIkaFLLUBA==}
+ resolution: {integrity: sha512-pdRvNNP99Qfvs1lyIxo/sfIGAwJP0CrJFNCE3goFKc7/fV+kjK3EPxx5Nt6sLTkzqTyeRYylpwPUfpeGojiyyw==}
engines: {node: '>= 12.20.55'}
hasBin: true
@@ -2982,9 +2982,9 @@ snapshots:
- bluebird
- supports-color
dependencies:
- electron: 41.5.1
+ electron: 41.7.1
'@electron/[email protected]':
dependencies:
@@ -3272,7 +3272,7 @@ snapshots:
dependencies:
'@types/http-cache-semantics': 4.2.0
'@types/keyv': 3.1.4
- '@types/node': 24.12.3
+ '@types/node': 25.6.2
'@types/responselike': 1.0.3
@@ -3308,7 +3308,7 @@ snapshots:
dependencies:
- '@types/node': 24.12.3
+ '@types/node': 25.6.2
dependencies:
@@ -3334,14 +3334,14 @@ snapshots:
dependencies:
- '@types/node': 24.12.3
+ '@types/node': 25.6.2
optional: true
dependencies:
- '@types/node': 24.12.3
+ '@types/node': 25.6.2
optional: true
@@ -4171,7 +4171,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@electron/get': 2.0.0
'@types/node': 24.12.3