From 9b35a01d531fc6185a3850399b41a5490252ae10 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Tue, 31 May 2022 10:53:49 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=AF=8F=E6=AC=A1=E6=89=93=E5=BC=80?= =?UTF-8?q?=E5=B8=AE=E5=8A=A9=E6=96=87=E6=A1=A3=E6=97=B6=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E6=A3=80=E6=9F=A5=E7=89=88=E6=9C=AC=E6=9B=B4=E6=96=B0=E5=B9=B6?= =?UTF-8?q?=E6=8F=90=E9=86=92=20Fix=20https://github.com/siyuan-note/siyua?= =?UTF-8?q?n/issues/5057?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/model/mount.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel/model/mount.go b/kernel/model/mount.go index f0a5c5d9a..dc288493a 100644 --- a/kernel/model/mount.go +++ b/kernel/model/mount.go @@ -179,6 +179,10 @@ func Mount(boxID string) (alreadyMount bool, err error) { go func() { time.Sleep(time.Second * 5) util.PushErrMsg(Conf.Language(52), 9000) + + // 每次打开帮助文档时自动检查版本更新并提醒 https://github.com/siyuan-note/siyuan/issues/5057 + time.Sleep(time.Second * 10) + CheckUpdate(true) }() }