From f3dd0c888e98b14446f06146a5ac90c30bdd59ff Mon Sep 17 00:00:00 2001 From: cutelua <33216131+cutelua@users.noreply.github.com> Date: Tue, 12 Mar 2019 10:21:10 +0800 Subject: [PATCH] noti for brows --- src/jqcmd.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jqcmd.sh b/src/jqcmd.sh index 8239f90..cd20c8a 100644 --- a/src/jqcmd.sh +++ b/src/jqcmd.sh @@ -119,10 +119,10 @@ jq_printvmess() { for CLINTIDX in $( seq 0 $CLTLEN ); do local EMAIL=$(echo $IN | jq 'if .settings.clients['${CLINTIDX}'].email then .settings.clients['${CLINTIDX}'].email else "DEFAULT" end') local _ps="${_MAKPREFIX}${ADDRESS}/${_NETTRIM}" - _green "${EMAIL//\"/} -- ${_ps}" local _VMESS=$(echo "vmess://"$(echo $IN | jq -c '{"v":"2","ps":"'${_ps}'","add":"'${ADDRESS}'","port":.port,"id":.settings.clients['${CLINTIDX}'].id,"aid":.settings.clients['${CLINTIDX}'].alterId,"net":.streamSettings.network,"type":'${_TYPE}',"host":'${_HOST}',"path":'${_PATH}',"tls":'${_TLS}'}' | base64 -w0)) + _green "VMESS链接(v2rayN/v2rayNG): ${EMAIL//\"/}" echo ${_VMESS} - _green "二维码链接:(v2rayN/v2rayNG)" + _green "二维码链接【浏览器打开】(v2rayN/v2rayNG)" echo "https://233boy.github.io/tools/qr.html#${_VMESS}" echo done