Skip to content

Commit eaeb255

Browse files
committed
Merge remote-tracking branch 'origin/dev' into dev
2 parents dc4e4cb + a16ddfe commit eaeb255

File tree

5 files changed

+28
-22
lines changed

5 files changed

+28
-22
lines changed

.github/CONTRIBUTING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,31 @@
33
## Get the source code
44

55
* `git clone [email protected]:siyuan-note/siyuan.git`
6-
* switch to dev branch `git checkout dev`
6+
* Switch to dev branch `git checkout dev`
77

88
## NPM dependencies
99

10-
Install pnpm: `npm install -g pnpm@10.8.0`
10+
Install pnpm: `npm install -g pnpm@10.11.0`
1111

1212
<details>
1313
<summary>For China mainland</summary>
1414

1515
Set the Electron mirror environment variable and install Electron:
1616

17-
* macOS/Linux: `ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ pnpm install electron@v35.3.0 -D`
17+
* macOS/Linux: `ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ pnpm install electron@v35.4.0 -D`
1818
* Windows:
1919
* `SET ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/`
20-
* `pnpm install electron@v35.3.0 -D`
20+
* `pnpm install electron@v35.4.0 -D`
2121

2222
NPM mirror:
2323

2424
* Use npmmirror China mirror repository `pnpm --registry https://registry.npmmirror.com/ i`
2525
* Revert to using official repository `pnpm --registry https://registry.npmjs.org i`
2626
</details>
2727

28-
On the desktop, go to the app folder to run:
28+
Enter the app folder and execute:
2929

30-
* `pnpm install electron@v35.3.0-D`
30+
* `pnpm install electron@v35.4.0 -D`
3131
* `pnpm run dev`
3232
* `pnpm run start`
3333

.github/CONTRIBUTING_zh_CN.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,27 @@
77

88
## NPM 依赖
99

10-
安装 pnpm:`npm install -g pnpm@10.8.0`
10+
安装 pnpm:`npm install -g pnpm@10.11.0`
1111

1212
<details>
1313
<summary>适用于中国大陆</summary>
1414

1515
设置 Electron 镜像环境变量并安装 Electron:
1616

17-
* macOS/Linux:`ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ pnpm install electron@v35.3.0 -D`
17+
* macOS/Linux:`ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ pnpm install electron@v35.4.0 -D`
1818
* Windows:
1919
* `SET ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/`
20-
* `pnpm install electron@v35.3.0 -D`
20+
* `pnpm install electron@v35.4.0 -D`
2121

2222
NPM 镜像:
2323

2424
* 使用 npmmirror 中国镜像仓库 `pnpm --registry https://registry.npmmirror.com/ i`
2525
* 恢复使用官方仓库 `pnpm --registry https://registry.npmjs.org i`
2626
</details>
2727

28-
桌面端进入 app 文件夹运行
28+
进入 app 文件夹执行
2929

30-
* `pnpm install electron@v35.3.0-D`
30+
* `pnpm install electron@v35.4.0 -D`
3131
* `pnpm run dev`
3232
* `pnpm run start`
3333

.github/workflows/dockerimage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ jobs:
7676
- name: Build the Docker image use package_json version
7777
if: ${{ github.event_name == 'push' || github.event.inputs.image_tag == '' }}
7878
run: |
79-
docker buildx build --push --platform linux/amd64,linux/arm64 -t ${{ env.docker_hub_owner }}/${{ env.docker_hub_repo }}:latest -t ${{ env.docker_hub_owner }}/${{ env.docker_hub_repo }}:v${{ steps.version.outputs.value }} .
79+
docker buildx build --push --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8 -t ${{ env.docker_hub_owner }}/${{ env.docker_hub_repo }}:latest -t ${{ env.docker_hub_owner }}/${{ env.docker_hub_repo }}:v${{ steps.version.outputs.value }} .

app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Refactor your thinking",
55
"homepage": "https://b3log.org/siyuan",
66
"main": "./electron/main.js",
7-
"packageManager": "pnpm@10.10.0",
7+
"packageManager": "pnpm@10.11.0",
88
"scripts": {
99
"lint": "eslint . --fix --cache",
1010
"dev": "webpack --mode development",
@@ -58,7 +58,7 @@
5858
"clean-webpack-plugin": "^4.0.0",
5959
"css-loader": "^6.7.1",
6060
"dayjs": "^1.11.5",
61-
"electron": "35.3.0",
61+
"electron": "35.4.0",
6262
"electron-builder": "26.0.12",
6363
"encoding": "^0.1.13",
6464
"esbuild-loader": "^3.0.1",

app/pnpm-lock.yaml

Lines changed: 14 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)