()
| 151 | } |
| 152 | |
| 153 | function onAppActivate(): void { |
| 154 | // On OS X it's common to re-create a window in the app when the |
| 155 | // dock icon is clicked and there are no other windows open. |
| 156 | if (!state.window) { state.window = createBrowserWindow(); } |
| 157 | } |
| 158 | |
| 159 | function createBrowserWindow(): BrowserWindow { |
| 160 | const window = new BrowserWindow({ |
nothing calls this directly
no test coverage detected