update
This commit is contained in:
+4
-1
@@ -92,7 +92,10 @@ func initSys() {
|
|||||||
s.Reply("编译程序完毕。", E)
|
s.Reply("编译程序完毕。", E)
|
||||||
sillyGirl.Set("rebootInfo", fmt.Sprintf("%v %v %v", s.GetImType(), s.GetChatID(), s.GetUserID()))
|
sillyGirl.Set("rebootInfo", fmt.Sprintf("%v %v %v", s.GetImType(), s.GetChatID(), s.GetUserID()))
|
||||||
s.Reply("更新完成,即将重启!", E)
|
s.Reply("更新完成,即将重启!", E)
|
||||||
Daemon()
|
go func() {
|
||||||
|
time.Sleep(time.Second)
|
||||||
|
Daemon()
|
||||||
|
}()
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user