Update menu.sh

dependabot/github_actions/actions/checkout-3.1.0
fscarmen 4 years ago committed by GitHub
parent 4741c238c8
commit 4668705774
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      menu.sh

@ -998,7 +998,7 @@ input_license(){
# 输入 Teams 账户 URL(如有)
input_url(){
[[ -z $URL ]] && reading " ${T[${L}127]} " URL
URL=${URL:-'https://gist.githubusercontent.com/fscarmen/56aaf02d743551737c9973b8be7a3496/raw/16cf34edf5fb28be00f53bb1c510e95a35491032/com.cloudflare.onedotonedotonedotone_preferences.xml'}
URL=${URL:-'https://gist.githubusercontent.com/fscarmen/ce49ed17bcf6befd02c15aa2605d309c/raw/c46323a1f2fa5b4963ae5ed120b64c88fc2c1f0d/2022.4.12-1.xml'}
TEAMS=$(curl -sSL "$URL" | sed "s/\"/\"/g")
PRIVATEKEY=$(expr "$TEAMS" : '.*private_key&quot;>\([^<]*\).*')
PUBLICKEY=$(expr "$TEAMS" : '.*public_key&quot;:&quot;\([^&]*\).*')

Loading…
Cancel
Save