This commit is contained in:
Liang Ding 2022-06-05 01:54:43 +08:00
parent a1d2ab5ff9
commit 8c39428863
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 6 additions and 4 deletions

View file

@ -235,7 +235,7 @@ func RecoverLocalBackup() (err error) {
if syncEnabled {
func() {
time.Sleep(5 * time.Second)
util.PushMsg(Conf.Language(134), 7000)
util.PushMsg(Conf.Language(134), 0)
}()
}
return

View file

@ -229,9 +229,11 @@ func ossDownload(localDirPath, cloudDirPath string, bootOrExit bool) (fetchedFil
return
}
err = ossDownload0(localDirPath, cloudDirPath, "/.siyuan/conf.json", &fetchedFilesCount, &transferSize, bootOrExit)
if nil != err {
return
if "backup" != cloudDirPath {
err = ossDownload0(localDirPath, cloudDirPath, "/.siyuan/conf.json", &fetchedFilesCount, &transferSize, bootOrExit)
if nil != err {
return
}
}
if needPushProgress {