From 762fca24f0ee7ccbc0df6778fa1f6bc838b0f3f9 Mon Sep 17 00:00:00 2001 From: cdle Date: Fri, 7 Jul 2023 17:25:25 +0800 Subject: [PATCH] x --- core/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/init.go b/core/init.go index b40c1fc..dd6647c 100644 --- a/core/init.go +++ b/core/init.go @@ -60,7 +60,7 @@ func Init() { var updates = 0 storage.Watch(sillyGirl, "compiled_at", func(old, new, key string) *storage.Final { if old != new { - if updates == 0 { + if updates == 1 { return &storage.Final{ Message: "升级中,请耐心等待...", }