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

Function getServerSettings

apps/desktop/src/main/settings.ts:33–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31}
32
33export const getServerSettings = (): DesktopServerSettings => ({
34 // Read defensively: older settings.json files carried `requireAuth`/`password`
35 // fields that no longer exist. Only `port` survives.
36 port: store.get("server")?.port ?? DEFAULT_SERVER_SETTINGS.port,
37});
38
39export const updateServerSettings = (
40 patch: Partial<DesktopServerSettings>,

Callers 7

installSupervisedAndWaitFunction · 0.90
restartSidecarAndReloadFunction · 0.90
registerIpcHandlersFunction · 0.90
buildManifestFunction · 0.90
startSidecarFunction · 0.90
updateServerSettingsFunction · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected