From b3dad048f1c432ab53c3cc0ad89112428c89ce97 Mon Sep 17 00:00:00 2001 From: vincent Date: Wed, 15 May 2024 21:53:09 +0800 Subject: [PATCH] update --- bin/print_share_link.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/print_share_link.sh b/bin/print_share_link.sh index 51907da..b8b6b7d 100644 --- a/bin/print_share_link.sh +++ b/bin/print_share_link.sh @@ -21,8 +21,9 @@ IPV4=$(curl -4 -sSL --connect-timeout 3 --retry 2 ip.sb || echo "null") # 本 PORT=$(echo "$config" | jq -r '.listen' | cut -d':' -f2) # 构建分享链接 -share_link="hysteria2://${password}@${IPV4}:${PORT}/?sni=${SNI}&insecure=1#${IPV4}" +SHARE_LINK="hysteria2://${password}@${IPV4}:${PORT}/?sni=${SNI}&insecure=1#${IPV4}" # 输出分享链接 -echo "分享链接: " -echo "$share_link" \ No newline at end of file +echo -e "\033[32m" +echo "分享链接: $SHARE_LINK" +echo -e "\033[0m" \ No newline at end of file