mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 16:10:12 +01:00
🎨 Improve checking for updates on exit https://github.com/siyuan-note/siyuan/issues/13608
This commit is contained in:
parent
746226054a
commit
e24a462003
5 changed files with 36 additions and 15 deletions
|
|
@ -310,6 +310,11 @@ export const exitSiYuan = async () => {
|
|||
}
|
||||
} else if (response.code === 2) { // 提示新安装包
|
||||
hideMessage();
|
||||
|
||||
if ("std" === window.siyuan.config.system.container) {
|
||||
ipcRenderer.send(Constants.SIYUAN_SHOW_WINDOW);
|
||||
}
|
||||
|
||||
confirmDialog(window.siyuan.languages.tip, response.msg, () => {
|
||||
fetchPost("/api/system/exit", {
|
||||
force: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue