Update vmess.sh

This commit is contained in:
NewName
2024-08-19 04:33:09 +08:00
parent 1f4feabb75
commit 0188dfb1f2

View File

@@ -14,17 +14,17 @@ config_file="/usr/local/etc/xray/config.json"
install_dependencies() {
if ! type jq &>/dev/null; then
echo -e "${green}正在安装 jq...${none}"
apt-get update && apt-get install -y jq
apt-get update && apt-get install -yq jq
fi
if ! type uuidgen &>/dev/null; then
echo -e "${green}正在安装 uuid-runtime...${none}"
apt-get install -y uuid-runtime
apt-get install -yq uuid-runtime
fi
if ! type sshpass &>/dev/null; then
echo -e "${green}正在安装 sshpass...${none}"
apt-get install -y sshpass
apt-get install -yq sshpass
fi
if ! type xray &>/dev/null; then