()
| 28 | } |
| 29 | |
| 30 | const notifyFeOnUpdateError = () => { |
| 31 | const executorWindow = currentExecutor().window |
| 32 | if (!executorWindow) { |
| 33 | return |
| 34 | } |
| 35 | try { |
| 36 | executorWindow.webContents.send("app:update-error") |
| 37 | } catch (e) { |
| 38 | logger.warn("Error notifying FE of update error", e) |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | function checkForUpdatesAndNotify() { |
| 43 | if (!autoUpdater.isUpdaterActive()) { |
no test coverage detected