修复启动脚本,移除多余的 TTY 输出重定向,确保 Bun 启动时的交互体验更加简洁。

This commit is contained in:
discountry
2025-09-24 23:01:23 +08:00
parent b2005f2cc4
commit 1ccfe627a5
+1 -1
View File
@@ -152,7 +152,7 @@ EOF
start_bot() {
# Bun auto-loads .env; no need to run dotenv explicitly
# Ensure Bun has a TTY for interactive menu input
exec bun index.ts < /dev/tty > /dev/tty 2>&1
exec bun index.ts < /dev/tty
}
main "$@"