mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
🐛 macOS 端报错 数据库被锁定 https://github.com/siyuan-note/siyuan/issues/6492
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user