Fix app not quitting completely on Cmd+Q (Mac)

This commit is contained in:
Michael Wizner
2022-02-05 23:07:53 +00:00
parent 126d14dfb7
commit 9c53503c0f

View File

@@ -94,7 +94,7 @@ export class Application {
}
app.on('window-all-closed', () => {
if (this.quitRequested || process.platform !== 'darwin') {
if (this.quitRequested) {
app.quit()
}
})