This commit is contained in:
cdle
2021-09-25 09:23:17 +08:00
parent a4d0c9655a
commit 8b04157087
3 changed files with 30 additions and 6 deletions
+4 -4
View File
@@ -14,10 +14,10 @@ func init() {
if v != "" {
vv := strings.Split(v, " ")
tp, cd, ud := vv[0], Int(vv[1]), Int(vv[2])
// if tp == "fake" {
// NotifyMasters("自动更新完成。")
// return
// }
if tp == "fake" && sillyGirl.Get("update_notify", "false") == "true" {
NotifyMasters("自动更新完成。")
return
}
msg := "重启完成。"
for i := 0; i < 10; i++ {
if cd == 0 {