(mainWindow: BrowserWindow)
| 35 | private updateWindow: BrowserWindow | null = null |
| 36 | |
| 37 | public init(mainWindow: BrowserWindow): void { |
| 38 | this.mainWindow = mainWindow |
| 39 | this.setupIPC() |
| 40 | this.startAutoCheck() |
| 41 | syncWindowsUninstallVersion() |
| 42 | } |
| 43 | |
| 44 | private setupIPC(): void { |
| 45 | ipcMain.handle('updater:check-update', () => this.checkUpdate()) |
nothing calls this directly
no test coverage detected