diff --git a/install.sh b/install.sh index 4a3b2f9..addb9ec 100644 --- a/install.sh +++ b/install.sh @@ -460,7 +460,7 @@ EOF vmess_link="vmess://$(cat /etc/v2ray/vmess_qr.json | base64 -w 0)" echo -e "${Red} URL导入链接:${vmess_link} ${Font}" >>./v2ray_info.txt echo -e "${Red} 二维码: ${Font}" >>./v2ray_info.txt - echo "${vmess_link}"| qrencode -o - -t utf8 >>./v2ray_info.txt + echo -n "${vmess_link}"| qrencode -o - -t utf8 >>./v2ray_info.txt } show_information(){ diff --git a/install_h2.sh b/install_h2.sh index fab425c..a9ea6a8 100644 --- a/install_h2.sh +++ b/install_h2.sh @@ -322,7 +322,7 @@ EOF vmess_link="vmess://$(cat /etc/v2ray/vmess_qr.json | base64 -w 0)" echo -e "${Red} URL导入链接:${vmess_link} ${Font}" >>./v2ray_info.txt echo -e "${Red} 二维码: ${Font}" >>./v2ray_info.txt - echo "${vmess_link}"| qrencode -o - -t utf8 >>./v2ray_info.txt + echo -n "${vmess_link}"| qrencode -o - -t utf8 >>./v2ray_info.txt } show_information(){