From 59ef82553f35ee7da0e0048971419801318fe4e2 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Thu, 2 Jul 2026 15:52:15 +0800 Subject: feat: prompt to remove example scripts after install --- install.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'install.sh') diff --git a/install.sh b/install.sh index 07f7e5a..38cf024 100644 --- a/install.sh +++ b/install.sh @@ -20,3 +20,17 @@ echo "Cleaning up..." rm -rf "$TEMP_DIR" echo "Done!" + +echo "" +echo "Remove all example scripts? [Y/n]" +read -r response +case "$response" in + [nN]|[nN][oO]) + echo "Skipped." + ;; + *) + echo "Removing example scripts..." + rm -f .run/src/bin/* + echo "Done!" + ;; +esac -- cgit