An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:octocat: 构建时注入运行模式为生成模式 `prod`
Liang Ding815128bd5343
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex d00e809877..ad5cd56b94 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -62,35 +62,35 @@ jobs:config:- os: ubuntu-20.04kernel_path: "../app/kernel-linux/SiYuan-Kernel"- build_args: "-s -w"+ build_args: "-s -w -X github.com/siyuan-note/siyuan/kernel/util.Mode=prod"electron_args: "dist-linux"goos: "linux"goarch: "amd64"suffix: "linux.AppImage"- os: ubuntu-20.04kernel_path: "../app/kernel-linux/SiYuan-Kernel"- build_args: "-s -w"+ build_args: "-s -w -X github.com/siyuan-note/siyuan/kernel/util.Mode=prod"electron_args: "dist-linux"goos: "linux"goarch: "amd64"suffix: "linux.tar.gz"- os: macos-latestkernel_path: "../app/kernel-darwin/SiYuan-Kernel"- build_args: "-s -w"+ build_args: "-s -w -X github.com/siyuan-note/siyuan/kernel/util.Mode=prod"electron_args: "dist-darwin"goos: "darwin"goarch: "amd64"suffix: "mac.dmg"- os: macos-latestkernel_path: "../app/kernel-darwin-arm64/SiYuan-Kernel"- build_args: "-s -w"+ build_args: "-s -w -X github.com/siyuan-note/siyuan/kernel/util.Mode=prod"electron_args: "dist-darwin-arm64"goos: "darwin"goarch: "arm64"suffix: "mac-arm64.dmg"- os: windows-2019kernel_path: "../app/kernel/SiYuan-Kernel.exe"- build_args: "-s -w -H=windowsgui"+ build_args: "-s -w -H=windowsgui -X github.com/siyuan-note/siyuan/kernel/util.Mode=prod"electron_args: "dist"goos: "windows"gobin: "bin"@@ -99,7 +99,7 @@ jobs:suffix: "win.exe"- os: windows-2019kernel_path: "../app/kernel32/SiYuan-Kernel.exe"- build_args: "-s -w -H=windowsgui"+ build_args: "-s -w -H=windowsgui -X github.com/siyuan-note/siyuan/kernel/util.Mode=prod"electron_args: "dist-win32"goos: "windows"mingwsys: "MINGW32"