• Closes the current Electron window.

    Returns Promise<void>

    A promise that resolves when the window is closed.

    export async function closeWindow() {
    await window.electronWindow.close();
    }