align wait, diff in cli and env

This commit is contained in:
Benjamin Pasero
2016-08-17 12:16:58 +02:00
parent 11d06f3e2a
commit bd1af53f54
5 changed files with 20 additions and 20 deletions

View File

@@ -109,7 +109,7 @@ export class LifecycleService implements ILifecycleService {
// Windows/Linux: we quit when all windows have closed
// Mac: we only quit when quit was requested
// --wait: we quit when all windows are closed
if (this.quitRequested || process.platform !== 'darwin' || this.envService.cliArgs.waitForWindowClose) {
if (this.quitRequested || process.platform !== 'darwin' || this.envService.cliArgs.wait) {
app.quit();
}
});