mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-09 08:44:20 +01:00
🎨 Improve desktop auto-update https://github.com/siyuan-note/siyuan/issues/16461 (#16764)
This commit is contained in:
parent
bea194e89d
commit
7464a6f951
19 changed files with 102 additions and 124 deletions
|
|
@ -305,7 +305,6 @@ export const exitSiYuan = async (setCurrentWorkspace = true) => {
|
|||
window.webkit.messageHandlers.exit.postMessage("");
|
||||
return;
|
||||
}
|
||||
|
||||
if (isInHarmony()) {
|
||||
window.JSHarmony.exit();
|
||||
return;
|
||||
|
|
@ -321,7 +320,7 @@ export const exitSiYuan = async (setCurrentWorkspace = true) => {
|
|||
ipcRenderer.send(Constants.SIYUAN_SHOW_WINDOW);
|
||||
}
|
||||
|
||||
confirmDialog(window.siyuan.languages.tip, response.msg, () => {
|
||||
confirmDialog(window.siyuan.languages.updateVersion, response.msg, () => {
|
||||
fetchPost("/api/system/exit", {
|
||||
force: true,
|
||||
setCurrentWorkspace,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue