mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🎨 桌面端内核进程根据 Electron 主进程判断是否自动退出 Fix https://github.com/siyuan-note/siyuan/issues/7002
This commit is contained in:
parent
bdec1215a0
commit
4021003629
1 changed files with 1 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ func HookDesktopUIProc() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
time.Sleep(30 * time.Second)
|
||||||
uiProcNames := []string{"siyuan", "electron"}
|
uiProcNames := []string{"siyuan", "electron"}
|
||||||
existUIProc := false
|
existUIProc := false
|
||||||
for range time.Tick(7 * time.Second) {
|
for range time.Tick(7 * time.Second) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue