🎨 桌面端内核进程根据 Electron 主进程判断是否自动退出 Fix https://github.com/siyuan-note/siyuan/issues/7002

This commit is contained in:
Liang Ding 2023-01-06 18:44:56 +08:00
parent 9854969cce
commit d752f006ca
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 8 additions and 8 deletions

View file

@ -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) {