diff --git a/install.sh b/install.sh index 9218b9c..0e09531 100644 --- a/install.sh +++ b/install.sh @@ -3,11 +3,15 @@ ################################################################################ # 玩玩云 (WanWanYun) - 一键部署脚本 # 项目地址: https://gitee.com/yu-yon/vue-driven-cloud-storage -# 版本: v1.0.0 +# 版本: v1.0.1 ################################################################################ set -e +# 重定向标准输入到终端,解决管道执行时无法读取用户输入的问题 +exec < /dev/tty + + # 颜色定义 RED='\033[0;31m' GREEN='\033[0;32m'