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

feat/daemon-cli
PeanutSplash 2026-03-03 22:23:41 +08:00
parent 6898a065d7
commit eb6471d42c
No known key found for this signature in database
GPG Key ID: DD6888629D611322
1 changed files with 1 additions and 1 deletions

View File

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