From 54c25af19fc57897f9a9c5e98de912b6d3aa2d24 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Mon, 31 Mar 2025 15:06:31 +0800 Subject: [PATCH] :hammer: Improve the dev guide https://github.com/siyuan-note/siyuan/issues/14480 --- .github/CONTRIBUTING.md | 6 ++++-- .github/CONTRIBUTING_zh_CN.md | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index a0d1b2cf1..5b9c2c36e 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -42,9 +42,11 @@ Note: In the development environment, the kernel process will not be automatical ### Desktop * `cd kernel` -* `go build --tags "fts5" -o "../app/kernel/SiYuan-Kernel.exe"` +* Windows: `go build --tags "fts5" -o "../app/kernel/SiYuan-Kernel.exe"` +* Linux/macOS: `go build --tags "fts5" -o "../app/kernel/SiYuan-Kernel"` * `cd ../app/kernel` -* `./SiYuan-Kernel.exe --wd=.. --mode=dev` +* Windows: `./SiYuan-Kernel.exe --wd=.. --mode=dev` +* Linux/macOS: `./SiYuan-Kernel --wd=.. --mode=dev` ### iOS diff --git a/.github/CONTRIBUTING_zh_CN.md b/.github/CONTRIBUTING_zh_CN.md index 84c92215c..b897c4216 100644 --- a/.github/CONTRIBUTING_zh_CN.md +++ b/.github/CONTRIBUTING_zh_CN.md @@ -44,9 +44,11 @@ NPM 镜像: ### 桌面端 * `cd kernel` -* `go build --tags "fts5" -o "../app/kernel/SiYuan-Kernel.exe"` +* Windows: `go build --tags "fts5" -o "../app/kernel/SiYuan-Kernel.exe"` +* Linux/macOS: `go build --tags "fts5" -o "../app/kernel/SiYuan-Kernel"` * `cd ../app/kernel` -* `./SiYuan-Kernel.exe --wd=.. --mode=dev` +* Windows: `./SiYuan-Kernel.exe --wd=.. --mode=dev` +* Linux/macOS: `./SiYuan-Kernel --wd=.. --mode=dev` ### iOS