This commit is contained in:
cdle
2021-09-23 22:00:52 +08:00
parent daeefe4b29
commit 365c450294
+1 -1
View File
@@ -15,6 +15,7 @@ func init() {
vv := strings.Split(v, " ")
tp, cd, ud := vv[0], Int(vv[1]), Int(vv[2])
if tp == "fake" {
time.Sleep(time.Second * 5)
NotifyMasters("自动更新完成。")
return
}
@@ -52,7 +53,6 @@ func initSys() {
Cron: "*/1 * * * *",
Admin: true,
Handle: func(s Sender) interface{} {
fmt.Println("检查更新。。。")
s.Reply("开始检查核心更新...", E)
update := false
record := func(b bool) {