bring window to front when called from CLI (fixes #489)

This commit is contained in:
Eugene Pankov
2018-10-31 17:37:34 +01:00
parent 215ddf0eec
commit 4426d4827f
3 changed files with 18 additions and 0 deletions

View File

@@ -180,6 +180,10 @@ export class HostAppService {
this.electron.ipcRenderer.send('app:ready')
}
bringToFront () {
this.electron.ipcRenderer.send('window-bring-to-front')
}
quit () {
this.logger.info('Quitting')
this.electron.app.quit()