MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / getConfigPath

Function getConfigPath

apps/desktop/main/network/proxy.ts:32–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30const proxyApplyQueue = new ProxyApplyQueue()
31
32function getConfigPath(): string {
33 if (CONFIG_PATH) return CONFIG_PATH
34 CONFIG_PATH = path.join(getSettingsDir(), 'proxy.json')
35 return CONFIG_PATH
36}
37
38/**
39 * 迁移旧版配置到新版

Callers 2

loadProxyConfigFunction · 0.70
saveProxyConfigFunction · 0.70

Calls 1

getSettingsDirFunction · 0.90

Tested by

no test coverage detected