From 625f7a0d5218d7cafc555d4817af158933ba6889 Mon Sep 17 00:00:00 2001 From: wulabing Date: Sat, 15 Feb 2020 21:33:31 +0800 Subject: [PATCH] =?UTF-8?q?1.1.0=20=E6=97=A7=E9=85=8D=E7=BD=AE=E9=80=82?= =?UTF-8?q?=E9=85=8D=20bug=20=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 3e883fb..b1c9958 100644 --- a/install.sh +++ b/install.sh @@ -238,7 +238,7 @@ port_alterid_set(){ modify_path(){ if [[ "on" == "$old_config_status" ]] then - camouflage="$(cat $v2ray_qr_config_file | grep '\"net\"' | awk -F '"' '{print $4}')" + camouflage="$(cat $v2ray_qr_config_file | grep '\"path\"' | awk -F '"' '{print $4}')" fi sed -i "/\"path\"/c \\\t \"path\":\"\/${camouflage}\/\"" ${v2ray_conf} judge "V2ray 伪装路径 修改" @@ -671,7 +671,7 @@ basic_information(){ echo -e "${Red} 地址(address):${Font} $(info_extraction "add") " >> ${v2ray_info_file} echo -e "${Red} 端口(port):${Font} $(info_extraction "port") " >> ${v2ray_info_file} echo -e "${Red} 用户id(UUID):${Font} $(info_extraction '\"id\"')" >> ${v2ray_info_file} - echo -e "${Red} 额外id(alterId):${Font} $(info_extraction "aid")" >> ${v2ray_info_file} + echo -e "${Red} 额外id(alterId):${Font} $(info_extraction '\"aid\"')" >> ${v2ray_info_file} echo -e "${Red} 加密方式(security):${Font} 自适应 " >> ${v2ray_info_file} echo -e "${Red} 传输协议(network):${Font} $(info_extraction "net") " >> ${v2ray_info_file} echo -e "${Red} 伪装类型(type):${Font} none " >> ${v2ray_info_file}