MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / normalizeInstallPath

Method normalizeInstallPath

openlist/openlist.ts:819–823  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

817 const configContent = await fs.readFile(configPath, "utf-8");
818 const config = JSON.parse(configContent);
819 if (config.users && config.users.length > 0) {
820 lines.push("\n<b>账户信息:</b>");
821 config.users.forEach((user: any, index: number) => {
822 lines.push(`${index + 1}. <b>用户:</b> ${htmlEscape(user.username)} | <b>密码:</b> ${htmlEscape(user.password)}`);
823 });
824 }
825 } catch (e) {
826 lines.push("\n无法解析账户信息。");

Callers 1

handleInstallMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected