Skip to content

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

:recycle: Upgrade to Electron v44.4.1 https://github.com/siyuan-note/siyuan/issues/19124

Daniel89d5892c1237
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index 3f037eb31b..b9651307f7 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -21,10 +21,10 @@ Do not mix this method with pnpm's standalone installation scripts (`@pnpm/exe`)
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:
@@ -34,7 +34,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 f15b66b1a8..cb90e984eb 100644
--- a/.github/CONTRIBUTING.zh-CN.md
+++ b/.github/CONTRIBUTING.zh-CN.md
@@ -21,10 +21,10 @@ Electron 44 要求 macOS 13 或更高版本,Windows 和 Linux 仅支持 64 位
设置 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 镜像:
@@ -34,7 +34,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 5cc1997ddc..5d6b0760ae 100644
--- a/app/package.json
+++ b/app/package.json
@@ -68,7 +68,7 @@
"cross-env": "^10.1.0",
"css-loader": "^7.1.2",
"dayjs": "^1.11.5",
- "electron": "44.3.0",
+ "electron": "44.4.1",
"electron-builder": "26.15.7",
"encoding": "^0.1.13",
"esbuild-loader": "^3.0.1",
diff --git a/app/pnpm-lock.yaml b/app/pnpm-lock.yaml
index b29dd8b214..f74dcf23ac 100644
--- a/app/pnpm-lock.yaml
+++ b/app/pnpm-lock.yaml
@@ -114,7 +114,7 @@ importers:
dependencies:
'@electron/remote':
specifier: ^2.1.3
zxcvbn:
specifier: 4.4.2
version: 4.4.2
@@ -156,8 +156,8 @@ importers:
specifier: ^1.11.5
version: 1.11.20
electron:
- specifier: 44.3.0
- version: 44.3.0([email protected])
+ specifier: 44.4.1
+ version: 44.4.1([email protected])
electron-builder:
specifier: 26.15.7
@@ -1592,8 +1592,8 @@ packages:
resolution: {integrity: sha512-bO3y10YikuUwUuDUQRM4KfwNkKhnpVO7IPdbsrejwN9/AABJzzTQ4GeHwyzNSrVO+tEH3/Np255a3sVZpZDjvg==}
engines: {node: '>=8.0.0'}
- resolution: {integrity: sha512-St9EV7F2VtYaYWD2qaAjBwUgKxx39eJOUsUJ5+/1113sqbVfNqv4Dbm/W1rN7qmYSPa+mWwR6yr+b7MfgjgVfQ==}
+ resolution: {integrity: sha512-gXJarQ2Utfn8G6bp/IqLXvckOSCtrxPWjFqQaqm02Gf4zYn1aP+RN9PKimoLH/DMqjKLfBrNC4C4CviPv0cXnQ==}
engines: {node: '>= 22.12.0'}
hasBin: true
@@ -3166,9 +3166,9 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
- electron: 44.3.0([email protected])
+ electron: 44.4.1([email protected])
dependencies:
@@ -4416,7 +4416,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@electron-internal/extract-zip': 1.0.3
'@electron/get': 4.0.3([email protected])
diff --git a/app/pnpm-workspace.yaml b/app/pnpm-workspace.yaml
index 9065d098bb..e1043f3940 100644
--- a/app/pnpm-workspace.yaml
+++ b/app/pnpm-workspace.yaml
@@ -5,7 +5,7 @@ allowBuilds:
esbuild: true
blockExoticSubdeps: false
minimumReleaseAgeExclude:
- - [email protected] || 44.3.0