mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-11 09:18:08 +00:00
修复启动脚本,移除多余的 TTY 输出重定向,确保 Bun 启动时的交互体验更加简洁。
This commit is contained in:
@@ -152,7 +152,7 @@ EOF
|
|||||||
start_bot() {
|
start_bot() {
|
||||||
# Bun auto-loads .env; no need to run dotenv explicitly
|
# Bun auto-loads .env; no need to run dotenv explicitly
|
||||||
# Ensure Bun has a TTY for interactive menu input
|
# 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 "$@"
|
main "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user