This commit is contained in:
Liang Ding 2022-06-25 17:04:16 +08:00
parent 29117c764d
commit b371692509
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
4 changed files with 56 additions and 23 deletions

View file

@ -154,6 +154,11 @@ func SyncData(boot, exit, byHand bool) {
// 创建数据快照 https://github.com/siyuan-note/siyuan/issues/5161
indexRepoBeforeCloudSync()
// 同步数据仓库
if syncRepoErr := syncRepo(); nil != syncRepoErr {
util.LogErrorf("sync repo failed: %s", syncRepoErr)
}
// 获取工作空间数据配置(数据版本)
dataConf, err := getWorkspaceDataConf()
if nil != err {