This commit is contained in:
Liang Ding 2022-05-31 15:39:54 +08:00
parent eb4a5279ad
commit 93763bb6d6
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -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))