An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: macOS 端 Tesseract OCR 安装后不识别 https://github.com/siyuan-note/siyuan/issues/7107
Liang Dingca2a27c96481
diff --git a/kernel/util/tesseract.go b/kernel/util/tesseract.goindex 3337878744..2a54bba4fc 100644--- a/kernel/util/tesseract.go+++ b/kernel/util/tesseract.go@@ -147,6 +147,7 @@ func getTesseractVer() (ret string) {data, err := cmd.CombinedOutput()if nil != err {if strings.Contains(err.Error(), "executable file not found") {+ // macOS 端 Tesseract OCR 安装后不识别 https://github.com/siyuan-note/siyuan/issues/7107TesseractBin = "/usr/local/bin/tesseract"cmd = exec.Command(TesseractBin, "--version")gulu.CmdAttr(cmd)