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

Function getServerSettings

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

Source from the content-addressed store, hash-verified

21}
22
23export const getServerSettings = (): DesktopServerSettings => ({
24 // Read defensively: older settings.json files carried `requireAuth`/`password`
25 // fields that no longer exist. Only `port` survives.
26 port: store.get("server")?.port ?? DEFAULT_SERVER_SETTINGS.port,
27});
28
29export const updateServerSettings = (
30 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