()
| 397 | } |
| 398 | |
| 399 | function onAppActivate(): void { |
| 400 | // On OS X it's common to re-create a window in the app when the |
| 401 | // dock icon is clicked and there are no other windows open. |
| 402 | if (!state.window) { |
| 403 | state.window = createMainWindow(); |
| 404 | } |
| 405 | } |
| 406 | |
| 407 | function onAppSecondInstance(event: Electron.Event, argv: string[]): void { |
| 408 | if (state.window) { |
nothing calls this directly
no test coverage detected