noti for brows

pull/156/head
cutelua 6 years ago
parent e1c7928d35
commit f3dd0c888e
  1. 4
      src/jqcmd.sh

@ -119,10 +119,10 @@ jq_printvmess() {
for CLINTIDX in $( seq 0 $CLTLEN ); do 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 EMAIL=$(echo $IN | jq 'if .settings.clients['${CLINTIDX}'].email then .settings.clients['${CLINTIDX}'].email else "DEFAULT" end')
local _ps="${_MAKPREFIX}${ADDRESS}/${_NETTRIM}" 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)) 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} echo ${_VMESS}
_green "二维码链接(v2rayN/v2rayNG)" _green "二维码链接【浏览器打开】(v2rayN/v2rayNG)"
echo "https://233boy.github.io/tools/qr.html#${_VMESS}" echo "https://233boy.github.io/tools/qr.html#${_VMESS}"
echo echo
done done

Loading…
Cancel
Save