在开发过程中,我们可能需要手动的去销毁窗口实例。
//销毁所有窗口 BrowserWindow.getAllWindows().forEach(item => { if (!item.isDestroyed()) { item.destroy() } })
在开发过程中,我们可能需要手动的去销毁窗口实例。
//销毁所有窗口 BrowserWindow.getAllWindows().forEach(item => { if (!item.isDestroyed()) { item.destroy() } })