mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 桌面端内核进程根据 Electron 主进程判断是否自动退出 Fix https://github.com/siyuan-note/siyuan/issues/7002
This commit is contained in:
@@ -38,7 +38,7 @@ func HandleSignal() {
|
||||
}
|
||||
|
||||
func HookDesktopUIProc() {
|
||||
if util.ContainerStd != util.Container {
|
||||
if util.ContainerStd != util.Container || "dev" == util.Mode {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user