Skip to content

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

:bookmark: v2.0.14

Liang Ding87256b184d71
diff --git a/scripts/darwin-build.sh b/scripts/darwin-build.sh
index 3b8d15fb32..e0f7b86a52 100755
--- a/scripts/darwin-build.sh
+++ b/scripts/darwin-build.sh
@@ -20,11 +20,11 @@ export CGO_ENABLED=1
export GOOS=darwin
export GOARCH=amd64
-go build --tags fts5 -v -o "app/kernel-darwin/SiYuan-Kernel" -ldflags "-s -w" .
+go build --tags fts5 -v -o "../app/kernel-darwin/SiYuan-Kernel" -ldflags "-s -w" .
export GOOS=darwin
export GOARCH=arm64
-go build --tags fts5 -v -o "app/kernel-darwin-arm64/SiYuan-Kernel" -ldflags "-s -w" .
+go build --tags fts5 -v -o "../app/kernel-darwin-arm64/SiYuan-Kernel" -ldflags "-s -w" .
cd ..
echo 'Building Electron'
diff --git a/scripts/linux-build.sh b/scripts/linux-build.sh
index 96dd1e9998..af9de3481a 100755
--- a/scripts/linux-build.sh
+++ b/scripts/linux-build.sh
@@ -19,7 +19,7 @@ export CGO_ENABLED=1
export GOOS=linux
export GOARCH=amd64
-go build --tags fts5 -v -o "app/kernel-linux/SiYuan-Kernel" -ldflags "-s -w" .
+go build --tags fts5 -v -o "../app/kernel-linux/SiYuan-Kernel" -ldflags "-s -w" .
cd ..
echo 'Building Electron'