🎨 优化初始化逻辑

This commit is contained in:
源文雨
2022-03-07 13:40:32 +08:00
parent f38f3ab69c
commit 3911b5ed82
25 changed files with 58 additions and 67 deletions

View File

@@ -62,7 +62,6 @@ func init() { // 插件主体
})
go func() {
defer order.DoneOnExit()()
// 如果数据库不存在则下载
pool.db.DBPath = engine.DataFolder() + "SetuTime.db"
_, _ = fileutil.GetLazyData(pool.db.DBPath, false, false)