Skip to content

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

:arrow_up: Upgrade to Electron v37.6.0 https://github.com/siyuan-note/siyuan/issues/15990

Daniel029c461e3e92
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index 58fc3d36fd..e361ca948c 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -7,17 +7,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:
@@ -27,7 +27,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 6c92145070..c428ee1f92 100644
--- a/.github/CONTRIBUTING_zh_CN.md
+++ b/.github/CONTRIBUTING_zh_CN.md
@@ -7,17 +7,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 镜像:
@@ -27,7 +27,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 4cb2c153ec..a44914eae5 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",
@@ -57,7 +57,7 @@
"clean-webpack-plugin": "^4.0.0",
"css-loader": "^7.1.2",
"dayjs": "^1.11.5",
- "electron": "37.4.0",
+ "electron": "37.6.0",
"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 f7db480e34..c456437904 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.18
electron:
- specifier: 37.4.0
- version: 37.4.0
+ specifier: 37.6.0
+ version: 37.6.0
electron-builder:
specifier: 26.0.12
version: 26.0.12([email protected])
@@ -446,36 +446,42 @@ packages:
engines: {node: '>= 10.0.0'}
cpu: [arm]
os: [linux]
+ libc: [glibc]
'@parcel/[email protected]':
resolution: {integrity: sha512-6E+m/Mm1t1yhB8X412stiKFG3XykmgdIOqhjWj+VL8oHkKABfu/gjFj8DvLrYVHSBNC+/u5PeNrujiSQ1zwd1Q==}
engines: {node: '>= 10.0.0'}
cpu: [arm]
os: [linux]
+ libc: [musl]
'@parcel/[email protected]':
resolution: {integrity: sha512-LrGp+f02yU3BN9A+DGuY3v3bmnFUggAITBGriZHUREfNEzZh/GO06FF5u2kx8x+GBEUYfyTGamol4j3m9ANe8w==}
engines: {node: '>= 10.0.0'}
cpu: [arm64]
os: [linux]
+ libc: [glibc]
'@parcel/[email protected]':
resolution: {integrity: sha512-cFOjABi92pMYRXS7AcQv9/M1YuKRw8SZniCDw0ssQb/noPkRzA+HBDkwmyOJYp5wXcsTrhxO0zq1U11cK9jsFg==}
engines: {node: '>= 10.0.0'}
cpu: [arm64]
os: [linux]
+ libc: [musl]
'@parcel/[email protected]':
resolution: {integrity: sha512-GcESn8NZySmfwlTsIur+49yDqSny2IhPeZfXunQi48DMugKeZ7uy1FX83pO0X22sHntJ4Ub+9k34XQCX+oHt2A==}
engines: {node: '>= 10.0.0'}
cpu: [x64]
os: [linux]
+ libc: [glibc]
'@parcel/[email protected]':
resolution: {integrity: sha512-n0E2EQbatQ3bXhcH2D1XIAANAcTZkQICBPVaxMeaCVBtOpBZpWJuf7LwyWPSBDITb7In8mqQgJ7gH8CILCURXg==}
engines: {node: '>= 10.0.0'}
cpu: [x64]
os: [linux]
+ libc: [musl]
'@parcel/[email protected]':
resolution: {integrity: sha512-RFzklRvmc3PkjKjry3hLF9wD7ppR4AKcWNzH7kXR7GUe0Igb3Nz8fyPwtZCSquGrhU5HhUNDr/mKBqj7tqA2Vw==}
@@ -1192,8 +1198,8 @@ packages:
resolution: {integrity: sha512-bO3y10YikuUwUuDUQRM4KfwNkKhnpVO7IPdbsrejwN9/AABJzzTQ4GeHwyzNSrVO+tEH3/Np255a3sVZpZDjvg==}
engines: {node: '>=8.0.0'}
- resolution: {integrity: sha512-HhsSdWowE5ODOeWNc/323Ug2C52mq/TqNBG+4uMeOA3G2dMXNc/nfyi0RYu1rJEgiaJLEjtHveeZZaYRYFsFCQ==}
+ resolution: {integrity: sha512-8AANcn6irYQ7cTAJRY7r0CovWckcGCHUniQecyGhw/jJ25vWwitVhF97skF+EyDztiEI6YBoF0G6tx1s37bO3g==}
engines: {node: '>= 12.20.55'}
hasBin: true
@@ -2862,9 +2868,9 @@ snapshots:
- bluebird
- supports-color
dependencies:
- electron: 37.4.0
+ electron: 37.6.0
'@electron/[email protected]':
dependencies:
@@ -4007,7 +4013,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@electron/get': 2.0.3
'@types/node': 22.18.1