Skip to content

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

:recycle: Upgrade to Electron v40.9.3 https://github.com/siyuan-note/siyuan/issues/17617

Danielee67a20442bb
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index ca37c89d08..f05c349f15 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -15,10 +15,10 @@ Install pnpm: `npm install -g [email protected]`
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 9064159e81..f8504aad88 100644
--- a/.github/CONTRIBUTING_zh_CN.md
+++ b/.github/CONTRIBUTING_zh_CN.md
@@ -15,10 +15,10 @@
设置 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 9416ba92a6..6fba22ee96 100644
--- a/app/package.json
+++ b/app/package.json
@@ -57,7 +57,7 @@
"clean-webpack-plugin": "^4.0.0",
"css-loader": "^7.1.2",
"dayjs": "^1.11.5",
- "electron": "40.9.1",
+ "electron": "40.9.3",
"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 51a2accdd3..1a390a377a 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
@@ -40,8 +40,8 @@ importers:
specifier: ^1.11.5
version: 1.11.19
electron:
- specifier: 40.9.1
- version: 40.9.1
+ specifier: 40.9.3
+ version: 40.9.3
electron-builder:
specifier: 26.0.12
version: 26.0.12([email protected])
@@ -1186,8 +1186,8 @@ packages:
resolution: {integrity: sha512-bO3y10YikuUwUuDUQRM4KfwNkKhnpVO7IPdbsrejwN9/AABJzzTQ4GeHwyzNSrVO+tEH3/Np255a3sVZpZDjvg==}
engines: {node: '>=8.0.0'}
- resolution: {integrity: sha512-dgUqGjpTJeLZQEbvZQlnjMtPCUfOGRBNJIYjw8yC2ZN9O1QS172r09trhLke+rC8JCLBGbf2DeU63AArd0tbhQ==}
+ resolution: {integrity: sha512-rDcJOT6BBE689Ada+4jD3rVr05pMv9MZOgT0x/rIMVDF9c4ttx4RTb6lVARTyxZC7uqpirttCtcli1eg1DX5qg==}
engines: {node: '>= 12.20.55'}
hasBin: true
@@ -1476,7 +1476,7 @@ packages:
resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==}
engines: {node: '>=12'}
- deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
+ deprecated: Glob versions prior to v9 are no longer supported
resolution: {integrity: sha512-PT6XReJ+D07JvGoxQMkT6qji/jVNfX/h364XHZOWeRzy64sSFr+xJ5OX7LI3b4MPQzdL4H8Y8M0xzPpsVMwA8Q==}
@@ -2835,9 +2835,9 @@ snapshots:
- bluebird
- supports-color
dependencies:
- electron: 40.9.1
+ electron: 40.9.3
'@electron/[email protected]':
dependencies:
@@ -3964,7 +3964,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@electron/get': 2.0.3
'@types/node': 24.12.0