🎨 Clean code

This commit is contained in:
Daniel 2023-06-09 22:29:38 +08:00
parent a2acca08b8
commit 6575ee65ed
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 3 additions and 4 deletions

View file

@ -38,8 +38,6 @@ import (
"github.com/siyuan-note/logging"
)
const DatabaseVer = "20220501" // 修改表结构的话需要修改这里
// IsUILoaded 是否已经加载了 UI。
var IsUILoaded = false
@ -65,6 +63,9 @@ var IsExiting = false
// MobileOSVer 移动端操作系统版本。
var MobileOSVer string
// DatabaseVer 数据库版本。修改表结构的话需要修改这里。
const DatabaseVer = "20220501"
func logBootInfo() {
plat := GetOSPlatform()
logging.LogInfof("kernel is booting:\n"+