增加初始化等待

This commit is contained in:
fumiama
2022-01-31 00:39:39 +08:00
parent 0770c6e4a1
commit ca18a323e3
19 changed files with 50 additions and 12 deletions

View File

@@ -55,6 +55,7 @@ func init() { // 插件主体
_ = os.MkdirAll("data/SetuTime", 0755)
go func() {
defer order.DoneOnExit()()
process.SleepAbout1sTo2s()
// 如果数据库不存在则下载
_, _ = fileutil.GetLazyData(pool.db.DBPath, false, false)