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

Method setMainWindow

src/main/core/sync/syncEngine.ts:30–32  ·  view source on GitHub ↗

* 设置主窗口引用(用于发送 plugins-changed 事件)

(mainWindow: BrowserWindow)

Source from the content-addressed store, hash-verified

28 * 设置主窗口引用(用于发送 plugins-changed 事件)
29 */
30 setMainWindow(mainWindow: BrowserWindow): void {
31 this.mainWindow = mainWindow
32 }
33
34 /**
35 * 初始化同步引擎

Callers 1

initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected