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

This reverts commit 9c53503c0f.
This commit is contained in:
Eugene Pankov
2022-02-12 10:03:49 +01:00
parent c64654991b
commit 60a48ec2a5

View File

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