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: Export data.zip and then import it no longer change the file timestamp Fix https://github.com/siyuan-note/siyuan/issues/8540
Daniel9841e0b4819e
diff --git a/kernel/model/import.go b/kernel/model/import.goindex 410ed98964..a23869e1e1 100644--- a/kernel/model/import.go+++ b/kernel/model/import.go@@ -82,6 +82,9 @@ func ImportSY(zipPath, boxID, toPath string) (err error) {util.PushEndlessProgress(Conf.Language(73))defer util.ClearPushProgress(100)+ syncLock.Lock()+ defer syncLock.Unlock()+baseName := filepath.Base(zipPath)ext := filepath.Ext(baseName)baseName = strings.TrimSuffix(baseName, ext)@@ -412,6 +415,9 @@ func ImportData(zipPath string) (err error) {util.PushEndlessProgress(Conf.Language(73))defer util.ClearPushProgress(100)+ syncLock.Lock()+ defer syncLock.Unlock()+baseName := filepath.Base(zipPath)ext := filepath.Ext(baseName)baseName = strings.TrimSuffix(baseName, ext)