Merge branch 'pr/1249'

This commit is contained in:
Eugene Pankov
2019-08-07 15:10:19 +02:00
9 changed files with 57 additions and 24 deletions

View File

@@ -58,7 +58,7 @@ export class Application {
if (!this.hasWindows()) {
await this.newWindow()
}
this.windows[0].send(event, ...args)
this.windows.filter(w => !w.isDestroyed())[0].send(event, ...args)
}
enableTray () {