Closes the current Electron window.
A promise that resolves when the window is closed.
export async function closeWindow() { await window.electronWindow.close();} Copy
export async function closeWindow() { await window.electronWindow.close();}
Closes the current Electron window.