Vanessa 2025-11-13 23:27:11 +08:00
parent 08c66696f8
commit 4116583c15
8 changed files with 52 additions and 2 deletions

View file

@ -280,6 +280,12 @@ export const kernelError = () => {
}
};
export const reloadOtherWindow = () => {
/// #if !BROWSER
ipcRenderer.send(Constants.SIYUAN_RELOAD_WINDOW, location.port);
/// #endif
};
export const exitSiYuan = async () => {
hideAllElements(["util"]);
/// #if MOBILE