Skip to content

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

:art: 桌面端内置 Pandoc 可执行文件 https://github.com/siyuan-note/siyuan/issues/5835

Liang Ding05cbc281859a
diff --git a/kernel/util/working.go b/kernel/util/working.go
index f93d602809..08fcaa611a 100644
--- a/kernel/util/working.go
+++ b/kernel/util/working.go
@@ -471,7 +471,7 @@ func initPandoc() {
}
pandocVer := getPandocVer(PandocBinPath)
if "" != pandocVer {
- logging.LogInfof("pandoc [ver=%s, bin=%s]", pandocVer, PandocBinPath)
+ logging.LogInfof("built-in pandoc [ver=%s, bin=%s]", pandocVer, PandocBinPath)
return
}
@@ -494,7 +494,7 @@ func initPandoc() {
exec.Command("chmod", "+x", PandocBinPath).CombinedOutput()
}
pandocVer = getPandocVer(PandocBinPath)
- logging.LogInfof("initialized pandoc [ver=%s, bin=%s]", pandocVer, PandocBinPath)
+ logging.LogInfof("initialized built-in pandoc [ver=%s, bin=%s]", pandocVer, PandocBinPath)
}
func getPandocVer(binPath string) (ret string) {