From 402100362990671d19a090c2d3851a01940d87a2 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Fri, 6 Jan 2023 18:28:58 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=A1=8C=E9=9D=A2=E7=AB=AF=E5=86=85?= =?UTF-8?q?=E6=A0=B8=E8=BF=9B=E7=A8=8B=E6=A0=B9=E6=8D=AE=20Electron=20?= =?UTF-8?q?=E4=B8=BB=E8=BF=9B=E7=A8=8B=E5=88=A4=E6=96=AD=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E9=80=80=E5=87=BA=20Fix=20https://github.com?= =?UTF-8?q?/siyuan-note/siyuan/issues/7002?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/model/process.go | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/model/process.go b/kernel/model/process.go index 0f73e8165..8785a9b69 100644 --- a/kernel/model/process.go +++ b/kernel/model/process.go @@ -42,6 +42,7 @@ func HookDesktopUIProc() { return } + time.Sleep(30 * time.Second) uiProcNames := []string{"siyuan", "electron"} existUIProc := false for range time.Tick(7 * time.Second) {