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

Method init

src/main/api/renderer/settings.ts:44–49  ·  view source on GitHub ↗
(mainWindow: Electron.BrowserWindow, pluginManager: PluginManager)

Source from the content-addressed store, hash-verified

42 private pluginManager: PluginManager | null = null
43
44 public init(mainWindow: Electron.BrowserWindow, pluginManager: PluginManager): void {
45 this.mainWindow = mainWindow
46 this.pluginManager = pluginManager
47 this.setupIPC()
48 this.loadAndApplySettings()
49 }
50
51 // 临时快捷键录制相关
52 private recordingShortcuts: string[] = []

Callers

nothing calls this directly

Calls 2

setupIPCMethod · 0.95
loadAndApplySettingsMethod · 0.95

Tested by

no test coverage detected