(mainWindow: Electron.BrowserWindow, pluginManager: PluginManager)
| 14 | private mainWindow: Electron.BrowserWindow | null = null |
| 15 | |
| 16 | public init(mainWindow: Electron.BrowserWindow, pluginManager: PluginManager): void { |
| 17 | this.pluginManager = pluginManager |
| 18 | this.mainWindow = mainWindow |
| 19 | this.setupIPC() |
| 20 | this.registerPluginApiHandlers() |
| 21 | } |
| 22 | |
| 23 | /** |
| 24 | * 通过 plugin.api 统一通道注册 createBrowserWindow 相关 handler |
nothing calls this directly
no test coverage detected