This commit is contained in:
Jeffrey Chen 2026-01-03 09:40:24 +08:00 committed by GitHub
parent bea194e89d
commit 7464a6f951
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 102 additions and 124 deletions

View file

@ -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,