(mainWindow: Electron.BrowserWindow, pluginManager: PluginManager)
| 15 | private pluginManager: PluginManager | null = null |
| 16 | |
| 17 | public init(mainWindow: Electron.BrowserWindow, pluginManager: PluginManager): void { |
| 18 | this.mainWindow = mainWindow |
| 19 | this.pluginManager = pluginManager |
| 20 | this.setupIPC() |
| 21 | this.setupThemeChangeListeners() |
| 22 | } |
| 23 | |
| 24 | private setupIPC(): void { |
| 25 | // 注册 getThemeInfo 到统一分发器(同步 API) |
nothing calls this directly
no test coverage detected