An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Improve exporting .sy.zip https://github.com/siyuan-note/siyuan/issues/12831
Daniel706b33b5d57f
diff --git a/kernel/model/export.go b/kernel/model/export.goindex 9fcd5b3aa1..18484a5ffe 100644--- a/kernel/model/export.go+++ b/kernel/model/export.go@@ -1558,6 +1558,7 @@ func exportSYZip(boxID, rootDirPath, baseFolderName string, docPaths []string) (refTrees[refTreeID] = refTree}}+ count++}util.PushEndlessProgress(Conf.Language(65))@@ -1589,6 +1590,7 @@ func exportSYZip(boxID, rootDirPath, baseFolderName string, docPaths []string) (util.PushEndlessProgress(Conf.language(65) + " " + fmt.Sprintf(Conf.Language(66), fmt.Sprintf("%d/%d ", count, total)+tree.HPath))}+ count = 0// 引用树放在导出文件夹根路径下for treeID, tree := range refTrees {readPath := filepath.Join(util.DataDir, tree.Box, tree.Path)