🎨 桌面端内核进程根据 Electron 主进程判断是否自动退出 Fix https://github.com/siyuan-note/siyuan/issues/7002
This commit is contained in:
parent
674aba3477
commit
9854969cce
1 changed files with 4 additions and 0 deletions
|
@ -58,6 +58,10 @@ func HookDesktopUIProc() {
|
|||
return true
|
||||
}
|
||||
|
||||
if nil == proc {
|
||||
return true
|
||||
}
|
||||
|
||||
procName := strings.ToLower(proc.Executable())
|
||||
for _, name := range uiProcNames {
|
||||
if strings.Contains(procName, name) {
|
||||
|
|
Loading…
Add table
Reference in a new issue