MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / checkForUpdates

Function checkForUpdates

apps/desktop/src/preload/index.ts:73–75  ·  view source on GitHub ↗

* Run an interactive update check (menu-flow semantics: native dialogs * for "update ready", "no updates", and failures). Used by the crash * screen so a broken release can heal itself.

()

Source from the content-addressed store, hash-verified

71 * screen so a broken release can heal itself.
72 */
73 checkForUpdates(): Promise<void> {
74 return ipcRenderer.invoke("executor:updates:check");
75 },
76 /** Read the current auto-update status once (renderer mount). */
77 getUpdateStatus(): Promise<DesktopUpdateStatus> {
78 return ipcRenderer.invoke(UPDATE_STATUS_GET_CHANNEL);

Callers

nothing calls this directly

Calls 1

invokeMethod · 0.80

Tested by

no test coverage detected