MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / getLaunchSettings

Function getLaunchSettings

emain/launchsettings.ts:13–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11 * @returns The initial launch settings for the application.
12 */
13export function getLaunchSettings(): SettingsType {
14 const settingsPath = path.join(getWaveConfigDir(), "settings.json");
15 try {
16 const settingsContents = fs.readFileSync(settingsPath, "utf8");
17 return JSON.parse(settingsContents);
18 } catch (_) {
19 // fail silently
20 }
21}

Callers 1

appMainFunction · 0.90

Calls 1

getWaveConfigDirFunction · 0.90

Tested by

no test coverage detected