Merge branch 'main' into cut-release-v0.25.0

This commit is contained in:
Jess Frazelle
2024-09-04 15:47:22 -07:00
committed by GitHub

View File

@ -94,13 +94,11 @@ const createWindow = (): BrowserWindow => {
return newWindow
}
// Quit when all windows are closed, except on macOS. There, it's common
// Quit when all windows are closed, even on macOS. There, it's common
// for applications and their menu bar to stay active until the user quits
// explicitly with Cmd + Q.
// explicitly with Cmd + Q, but it is a really weird behavior with our app.
app.on('window-all-closed', () => {
if (process.platform !== 'darwin') {
app.quit()
}
app.quit()
})
// This method will be called when Electron has finished