@@ -45,7 +45,7 @@ func main() {
go model.AutoSync()
go model.AutoStat()
util.SetBooted()
- util.ClearPushProgress(100)
+ util.PushClearAllMsg()
go model.AutoRefreshCheck()
go model.AutoFlushTx()
go sql.AutoFlushTreeQueue()
@@ -59,7 +59,7 @@ func StartKernel(container, appDir, workspaceDir, nativeLibDir, privateDataDir,
@@ -177,6 +177,11 @@ const (
PushProgressCodeEnd = 2 // 关闭进度
)
+func PushClearAllMsg() {
+ ClearPushProgress(100)
+ PushClearMsg("")
+}
+
func ClearPushProgress(total int) {
PushProgress(PushProgressCodeEnd, total, total, "")
}