Skip to content

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

:art: 支持多设备操作不同文档后云端同步合并 https://github.com/siyuan-note/siyuan/issues/5092

Liang Ding0a1fcd7910b5
diff --git a/kernel/model/osssync.go b/kernel/model/osssync.go
index 81c0aa1dfa..fc0c1c9fc3 100644
--- a/kernel/model/osssync.go
+++ b/kernel/model/osssync.go
@@ -205,6 +205,9 @@ func ossDownload(isBackup bool, localDirPath, cloudDirPath string, bootOrExit bo
var tmpWroteFiles int
var tmpTransferSize uint64
for upsert, _ := range upsertList {
+ if "/.siyuan/conf.json" == upsert { // 版本号不覆盖云端
+ continue
+ }
localUpsert := filepath.Join(localDirPath, upsert)
var info os.FileInfo
info, err = os.Stat(localUpsert)