Skip to content

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

:recycle: Upgrade to Electron v42.6.1 https://github.com/siyuan-note/siyuan/issues/18210

Daniel5affcd7815a2
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index aa1febe55c..a1fcd8b3ad 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 install:electron`
* `pnpm run dev`
* `pnpm run start`
diff --git a/.github/CONTRIBUTING.zh-CN.md b/.github/CONTRIBUTING.zh-CN.md
index 362472e0a0..9bd25f32a2 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 install:electron`
* `pnpm run dev`
* `pnpm run start`
diff --git a/app/package.json b/app/package.json
index 3060d2547d..c79d74d2b8 100644
--- a/app/package.json
+++ b/app/package.json
@@ -5,7 +5,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",
"test": "node --import tsx --test",
@@ -63,7 +63,7 @@
"cross-env": "^10.1.0",
"css-loader": "^7.1.2",
"dayjs": "^1.11.5",
- "electron": "42.5.0",
+ "electron": "42.6.1",
"electron-builder": "26.15.6",
"encoding": "^0.1.13",
"esbuild-loader": "^3.0.1",
diff --git a/app/pnpm-lock.yaml b/app/pnpm-lock.yaml
index 9a49d1d1d3..8adfad70de 100644
--- a/app/pnpm-lock.yaml
+++ b/app/pnpm-lock.yaml
@@ -13,7 +13,7 @@ importers:
dependencies:
'@electron/remote':
specifier: ^2.1.3
- version: 2.1.3([email protected])
+ version: 2.1.3([email protected])
zxcvbn:
specifier: 4.4.2
version: 4.4.2
@@ -52,8 +52,8 @@ importers:
specifier: ^1.11.5
version: 1.11.20
electron:
- specifier: 42.5.0
- version: 42.5.0
+ specifier: 42.6.1
+ version: 42.6.1
electron-builder:
specifier: 26.15.6
version: 26.15.6([email protected])
@@ -1485,8 +1485,8 @@ packages:
resolution: {integrity: sha512-bO3y10YikuUwUuDUQRM4KfwNkKhnpVO7IPdbsrejwN9/AABJzzTQ4GeHwyzNSrVO+tEH3/Np255a3sVZpZDjvg==}
engines: {node: '>=8.0.0'}
- resolution: {integrity: sha512-cYEKS9XFz+c9fAB4jI0x49yz1FFzB55r3q96wu9YkwwJMv7t9202IE/ltlgy6yitl/J4M7C8JQcmUqdzDvPl/w==}
+ resolution: {integrity: sha512-HR9yiOyl+kZpSAugjOpBNvKpoh1wNpTK4wl6geD9W9Xmo6L6IgEzVB/JKlbEUDdXYeqRaaEhTUSSfyQ/g9iXvQ==}
engines: {node: '>= 22.12.0'}
hasBin: true
@@ -3023,7 +3023,7 @@ snapshots:
got: 14.6.6
graceful-fs: 4.2.11
progress: 2.0.3
- semver: 7.8.0
+ semver: 7.8.5
sumchecker: 3.0.1
optionalDependencies:
global-agent: 3.0.0
@@ -3060,9 +3060,9 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
- electron: 42.5.0
+ electron: 42.6.1
'@electron/[email protected]':
dependencies:
@@ -4312,7 +4312,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@electron-internal/extract-zip': 1.0.3
'@electron/get': 4.0.3
@@ -4682,7 +4682,7 @@ snapshots:
es6-error: 4.1.1
matcher: 3.0.0
roarr: 2.15.3
- semver: 7.8.0
+ semver: 7.8.5
serialize-error: 7.0.1
optional: true
@@ -5082,14 +5082,14 @@ snapshots:
dependencies:
- semver: 7.8.0
+ semver: 7.8.5
optional: true
dependencies:
- semver: 7.8.0
+ semver: 7.8.5
dependencies:
@@ -5098,7 +5098,7 @@ snapshots:
graceful-fs: 4.2.11
nopt: 9.0.0
proc-log: 6.0.0
- semver: 7.8.0
+ semver: 7.8.5
tar: 7.5.16
tinyglobby: 0.2.16
undici: 6.27.0