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

Function shouldUpgradeDaemonForDesktop

apps/desktop/src/main/index.ts:210–214  ·  view source on GitHub ↗
(daemonVersion: string | null)

Source from the content-addressed store, hash-verified

208};
209
210const shouldUpgradeDaemonForDesktop = (daemonVersion: string | null): boolean => {
211 if (!daemonVersion) return false;
212 const comparison = compareVersions(app.getVersion(), daemonVersion);
213 return comparison !== null && comparison > 0;
214};
215
216const normalizedPath = (path: string): string => path.replaceAll("\\", "/");
217

Callers 1

Calls 1

compareVersionsFunction · 0.70

Tested by

no test coverage detected