🎨 同步下载支持断点续传 Fix https://github.com/siyuan-note/siyuan/issues/5056
This commit is contained in:
parent
eb4a5279ad
commit
93763bb6d6
1 changed files with 2 additions and 0 deletions
|
@ -322,6 +322,8 @@ func SyncData(boot, exit, byHand bool) {
|
|||
syncDownloadErrCount++
|
||||
return
|
||||
}
|
||||
|
||||
// 解密验证成功后将其移动到 sync/ 文件夹下
|
||||
if err = os.Rename(tmpPathJSON, filepath.Join(localSyncDirPath, pathJSON)); nil != err {
|
||||
util.PushClearMsg()
|
||||
msg := fmt.Sprintf(Conf.Language(80), formatErrorMsg(err))
|
||||
|
|
Loading…
Add table
Reference in a new issue