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

This commit is contained in:
Liang Ding 2023-01-06 18:18:29 +08:00
parent 4ba967cc98
commit f5095ad1b8
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -38,7 +38,7 @@ func HandleSignal() {
}
func HookDesktopUIProc() {
if util.ContainerStd != util.Container {
if util.ContainerStd != util.Container || "dev" == util.Mode {
return
}