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

Function setServerProfiles

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

Persist the server profile payload in desktop storage.

(value: string)

Source from the content-addressed store, hash-verified

26 },
27 /** Persist the server profile payload in desktop storage. */
28 setServerProfiles(value: string): Promise<void> {
29 return ipcRenderer.invoke("executor:server-profiles:set", value);
30 },
31 /** Read the persisted server settings (currently just the port). */
32 getSettings(): Promise<DesktopServerSettings> {
33 return ipcRenderer.invoke("executor:settings:get");

Callers

nothing calls this directly

Calls 1

invokeMethod · 0.80

Tested by

no test coverage detected