mirror of https://github.com/mack-a/v2ray-agent
parent
10ca4ff370
commit
085e415255
|
@ -9026,8 +9026,8 @@ initRealityKey() {
|
||||||
else
|
else
|
||||||
realityX25519Key=$(/etc/v2ray-agent/xray/xray x25519)
|
realityX25519Key=$(/etc/v2ray-agent/xray/xray x25519)
|
||||||
fi
|
fi
|
||||||
realityPrivateKey=$(echo "${realityX25519Key}" | grep "Private key" | awk '{print $3}')
|
realityPrivateKey=$(echo "${realityX25519Key}" | grep "PrivateKey" | awk '{print $2}')
|
||||||
realityPublicKey=$(echo "${realityX25519Key}" | grep "Public key" | awk '{print $3}')
|
realityPublicKey=$(echo "${realityX25519Key}" | grep "Password" | awk '{print $2}')
|
||||||
if [[ -z "${realityPrivateKey}" ]]; then
|
if [[ -z "${realityPrivateKey}" ]]; then
|
||||||
echoContent red "输入的Private Key不合法"
|
echoContent red "输入的Private Key不合法"
|
||||||
initRealityKey
|
initRealityKey
|
||||||
|
@ -9432,7 +9432,7 @@ menu() {
|
||||||
cd "$HOME" || exit
|
cd "$HOME" || exit
|
||||||
echoContent red "\n=============================================================="
|
echoContent red "\n=============================================================="
|
||||||
echoContent green "作者:mack-a"
|
echoContent green "作者:mack-a"
|
||||||
echoContent green "当前版本:v3.4.28"
|
echoContent green "当前版本:v3.4.29"
|
||||||
echoContent green "Github:https://github.com/mack-a/v2ray-agent"
|
echoContent green "Github:https://github.com/mack-a/v2ray-agent"
|
||||||
echoContent green "描述:八合一共存脚本\c"
|
echoContent green "描述:八合一共存脚本\c"
|
||||||
showInstallStatus
|
showInstallStatus
|
||||||
|
|
Loading…
Reference in New Issue