MCPcopy Index your code
hub / github.com/ZToolsCenter/ZTools / init

Method init

src/main/api/renderer/window.ts:16–20  ·  view source on GitHub ↗
(mainWindow: Electron.BrowserWindow)

Source from the content-addressed store, hash-verified

14 private currentAssemblyTarget: string | null = null
15
16 public init(mainWindow: Electron.BrowserWindow): void {
17 this.mainWindow = mainWindow
18 this.setupIPC()
19 this.setupWindowEvents()
20 }
21
22 private setupIPC(): void {
23 ipcMain.on('hide-window', () => this.hideWindow())

Callers

nothing calls this directly

Calls 2

setupIPCMethod · 0.95
setupWindowEventsMethod · 0.95

Tested by

no test coverage detected