From 1ccfe627a54ba8ef77efaa45981d3ab83c348c9b Mon Sep 17 00:00:00 2001 From: discountry Date: Wed, 24 Sep 2025 23:01:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=90=AF=E5=8A=A8=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=EF=BC=8C=E7=A7=BB=E9=99=A4=E5=A4=9A=E4=BD=99=E7=9A=84?= =?UTF-8?q?=20TTY=20=E8=BE=93=E5=87=BA=E9=87=8D=E5=AE=9A=E5=90=91=EF=BC=8C?= =?UTF-8?q?=E7=A1=AE=E4=BF=9D=20Bun=20=E5=90=AF=E5=8A=A8=E6=97=B6=E7=9A=84?= =?UTF-8?q?=E4=BA=A4=E4=BA=92=E4=BD=93=E9=AA=8C=E6=9B=B4=E5=8A=A0=E7=AE=80?= =?UTF-8?q?=E6=B4=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 175e0d5..0766ce7 100644 --- a/setup.sh +++ b/setup.sh @@ -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 "$@"