MCPcopy Create free account
hub / github.com/ZToolsCenter/ZTools / init

Method init

src/main/api/plugin/dialog.ts:11–14  ·  view source on GitHub ↗
(mainWindow: Electron.BrowserWindow)

Source from the content-addressed store, hash-verified

9 private mainWindow: Electron.BrowserWindow | null = null
10
11 public init(mainWindow: Electron.BrowserWindow): void {
12 this.mainWindow = mainWindow
13 this.setupIPC()
14 }
15
16 private setupIPC(): void {
17 // 获取系统路径

Callers

nothing calls this directly

Calls 1

setupIPCMethod · 0.95

Tested by

no test coverage detected