MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / notifyFeOnUpdateError

Function notifyFeOnUpdateError

projects/electron/src/modules/autoUpdate.ts:30–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28}
29
30const 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
42function checkForUpdatesAndNotify() {
43 if (!autoUpdater.isUpdaterActive()) {

Callers 1

checkForUpdatesAndNotifyFunction · 0.85

Calls 2

currentExecutorFunction · 0.90
sendMethod · 0.65

Tested by

no test coverage detected