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

Function getSettings

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

Read the persisted server settings (currently just the port).

()

Source from the content-addressed store, hash-verified

30 },
31 /** Read the persisted server settings (currently just the port). */
32 getSettings(): Promise<DesktopServerSettings> {
33 return ipcRenderer.invoke("executor:settings:get");
34 },
35 /** Patch one or more server settings. Returns the new full settings. */
36 updateSettings(patch: Partial<DesktopServerSettings>): Promise<DesktopServerSettings> {
37 return ipcRenderer.invoke("executor:settings:update", patch);

Callers

nothing calls this directly

Calls 1

invokeMethod · 0.80

Tested by

no test coverage detected