MCPcopy Create free account
hub / github.com/FlashpointProject/launcher / onAppActivate

Function onAppActivate

src/main/LogsWindow.ts:153–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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({

Callers

nothing calls this directly

Calls 1

createBrowserWindowFunction · 0.70

Tested by

no test coverage detected