Skip to content

Commit

Permalink
Update test-a.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
crazypeace authored Sep 9, 2024
1 parent 6567b40 commit baf95da
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions test-a.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,13 @@ pause() {
}

while true; do
clear

echo "我是脚本A"
echo "假装这是一个菜单"
echo -e "------------------------"
echo -e "02. 调用脚本B▶"
echo -e "03. 调用脚本C▶"
echo -e "------------------------"
echo -e "0. 退出脚本"
echo -e "------------------------"
read -p "请输入你的选择: " choice

case $choice in
Expand All @@ -26,11 +23,6 @@ case $choice in
3)
bash <(wget -qO- -o- https://github.com/crazypeace/gh-proxy/raw/master/test-c.sh)
;;

0)
clear
exit
;;

*)
echo "无效的输入!"
Expand Down

0 comments on commit baf95da

Please sign in to comment.