Browse Source

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

This reverts commit 9c53503c0f44319b0417511ee57ff57cdb15ded7.
Eugene Pankov 4 years ago
parent
commit
60a48ec2a5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/lib/app.ts

+ 1 - 1
app/lib/app.ts

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