fix: Updated prompt messages for detecting multiple data directories and added instructions for users to select their current WeChat account.

This commit is contained in:
PeanutSplash
2026-03-03 22:23:41 +08:00
parent 6898a065d7
commit eb6471d42c

View File

@@ -61,7 +61,7 @@ def auto_detect_db_dir():
# 非交互环境MCP、无 stdin 管道等)直接取第一个 # 非交互环境MCP、无 stdin 管道等)直接取第一个
if not sys.stdin.isatty(): if not sys.stdin.isatty():
return candidates[0] return candidates[0]
print("[!] 检测到多个微信数据目录:") print("[!] 检测到多个微信数据目录(请选择当前正在运行的微信账号):")
for i, c in enumerate(candidates, 1): for i, c in enumerate(candidates, 1):
print(f" {i}. {c}") print(f" {i}. {c}")
print(" 0. 跳过,稍后手动配置") print(" 0. 跳过,稍后手动配置")