🐛 macOS 端报错 数据库被锁定
https://github.com/siyuan-note/siyuan/issues/6492
This commit is contained in:
parent
c2bba8f72a
commit
133d49036f
1 changed files with 7 additions and 0 deletions
|
@ -118,6 +118,13 @@ func getUpdatePkg() (downloadPkgURLs []string, checksum string, err error) {
|
|||
return
|
||||
}
|
||||
|
||||
logging.LogInfof("rhy result [%+v]", result)
|
||||
|
||||
if nil == result["checksums"] {
|
||||
logging.LogWarnf("get update pkg checksums failed")
|
||||
return
|
||||
}
|
||||
|
||||
ver := result["ver"].(string)
|
||||
if isVersionUpToDate(ver) {
|
||||
return
|
||||
|
|
Loading…
Add table
Reference in a new issue