From 587b8461881b08fc130f72fa840e32cb56cb5404 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Thu, 2 Jul 2026 16:00:41 +0800 Subject: chore: redirect stdin to /dev/tty for user prompts --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 install.sh diff --git a/install.sh b/install.sh old mode 100644 new mode 100755 index 38cf024..b78d938 --- a/install.sh +++ b/install.sh @@ -23,14 +23,14 @@ echo "Done!" echo "" echo "Remove all example scripts? [Y/n]" -read -r response +read -r response < /dev/tty case "$response" in [nN]|[nN][oO]) echo "Skipped." ;; *) echo "Removing example scripts..." - rm -f .run/src/bin/* + rm -rf .run/src/bin/ echo "Done!" ;; esac -- cgit