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

Function planUpdateCheck

apps/desktop/src/main/updater-state.ts:56–62  ·  view source on GitHub ↗
(input: {
  readonly stagedVersion: string | null;
  readonly trigger: UpdateCheckTrigger;
})

Source from the content-addressed store, hash-verified

54};
55
56export const planUpdateCheck = (input: {
57 readonly stagedVersion: string | null;
58 readonly trigger: UpdateCheckTrigger;
59}): UpdateCheckPlan => ({
60 check: true,
61 promptVersionAfterCheck: input.trigger === "manual" ? input.stagedVersion : null,
62});
63
64export const planCompletedUpdateCheck = (
65 input: CompletedUpdateCheckInput,

Callers 2

runUpdateCheckFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected