MCPcopy
hub / github.com/coder/mux / setMainWindow

Method setMainWindow

src/node/services/windowService.ts:10–12  ·  view source on GitHub ↗
(window: BrowserWindow)

Source from the content-addressed store, hash-verified

8 private restartAppHandler: RestartAppHandler | null = null;
9
10 setMainWindow(window: BrowserWindow) {
11 this.mainWindow = window;
12 }
13 setRestartAppHandler(handler: RestartAppHandler | null): void {
14 this.restartAppHandler = handler;
15 }

Callers 7

createWindowFunction · 0.80
createTestServerFunction · 0.80
mainFunction · 0.80
createTestServerFunction · 0.80
createTestEnvironmentFunction · 0.80

Calls

no outgoing calls

Tested by 2

createTestServerFunction · 0.64
createTestServerFunction · 0.64