mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-27 03:48:48 +01:00
This commit is contained in:
parent
0b6b729ab5
commit
233b64e85d
4 changed files with 18 additions and 7 deletions
|
|
@ -199,7 +199,7 @@ export const exitSiYuan = () => {
|
|||
// 桌面端退出拉起更新安装时有时需要重启两次 https://github.com/siyuan-note/siyuan/issues/6544
|
||||
// 这里先将主界面隐藏
|
||||
setTimeout(() => {
|
||||
ipcRenderer.send(Constants.SIYUAN_HIDE);
|
||||
ipcRenderer.send(Constants.SIYUAN_CMD, "hide");
|
||||
}, 2000);
|
||||
// 然后等待一段时间后再退出,避免界面主进程退出以后内核子进程被杀死
|
||||
setTimeout(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue