MCPcopy
hub / github.com/Bistutu/FluentRead / saveConfig

Function saveConfig

entrypoints/utils/floatingBall.ts:191–196  ·  view source on GitHub ↗

* 保存配置到存储

()

Source from the content-addressed store, hash-verified

189 * 保存配置到存储
190 */
191function saveConfig() {
192 // 使用插件提供的存储 API 保存配置
193 storage.setItem('local:config', JSON.stringify(config)).catch((error) => {
194 console.error('Failed to save config:', error);
195 });
196}
197
198/**
199 * 卸载悬浮球

Callers 3

mountFloatingBallFunction · 0.70
toggleFloatingBallFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected