Skip to content

Commit

Permalink
Fix a bug in shotcut.
Browse files Browse the repository at this point in the history
  • Loading branch information
fscarmen authored Nov 4, 2023
1 parent d4e7650 commit f23d924
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions argox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ mkdir -p $TEMP_DIR

E[0]="Language:\n 1. English (default) \n 2. 简体中文"
C[0]="${E[0]}"
E[1]="1. Support Reality-Vison and Reality-gRPC, Both are direct connect solutions; 2. Quick-tunnel through the API to check dynamic domain names; 3. After installing, add [argox] shortcut."
C[1]="1. 支持 Reality-Vison and Reality-gRPC,两个均为直连方案; 2. 临时隧道通过 API 查动态域名; 3. 安装后,增加 [argox] 的快捷运行方式"
E[1]="1. Support Reality-Vison and Reality-gRPC, Both are direct connect solutions; 2. Quick-tunnel through the API to check dynamic domain names; 3. After installing, add [ argox ] shortcut."
C[1]="1. 支持 Reality-Vison and Reality-gRPC,两个均为直连方案; 2. 临时隧道通过 API 查动态域名; 3. 安装后,增加 [ argox ] 的快捷运行方式"
E[2]="Project to create Argo tunnels and Xray specifically for VPS, detailed:[https://github.com/fscarmen/argox]\n Features:\n\t • Allows the creation of Argo tunnels via Token, Json and ad hoc methods. User can easily obtain the json at https://fscarmen.cloudflare.now.cc .\n\t • Extremely fast installation method, saving users time.\n\t • Support system: Ubuntu, Debian, CentOS, Alpine and Arch Linux 3.\n\t • Support architecture: AMD,ARM and s390x\n"
C[2]="本项目专为 VPS 添加 Argo 隧道及 Xray,详细说明: [https://github.com/fscarmen/argox]\n 脚本特点:\n\t • 允许通过 Token, Json 及 临时方式来创建 Argo 隧道,用户通过以下网站轻松获取 json: https://fscarmen.cloudflare.now.cc\n\t • 极速安装方式,大大节省用户时间\n\t • 智能判断操作系统: Ubuntu 、Debian 、CentOS 、Alpine 和 Arch Linux,请务必选择 LTS 系统\n\t • 支持硬件结构类型: AMD 和 ARM\n"
E[3]="Input errors up to 5 times.The script is aborted."
Expand Down Expand Up @@ -116,7 +116,7 @@ E[48]="Downloading the latest version \$APP failed, script exits. Feedback:[http
C[48]="下载最新版本 \$APP 失败,脚本退出,问题反馈:[https://github.com/fscarmen/argox/issues]"
E[49]="Please enter the node name. \(Default is \${NODE_NAME_DEFAULT}\):"
C[49]="请输入节点名称 \(默认为 \${NODE_NAME_DEFAULT}\):"
E[50]="Argo or Xray services are not enabled, node information cannot be output. Press [y] if you want to open."
E[50]="\${APP[@]} services are not enabled, node information cannot be output. Press [y] if you want to open."
C[50]="\${APP[@]} 服务未开启,不能输出节点信息。如需打开请按 [y]: "
E[51]="Install Sing-box multi-protocol scripts [https://github.com/fscarmen/sing-box]"
C[51]="安装 Sing-box 协议全家桶脚本 [https://github.com/fscarmen/sing-box]"
Expand All @@ -140,8 +140,8 @@ E[60]="Quicktunnel domain can be obtained from: http://\${SERVER_IP_1}:\${METRIC
C[60]="临时隧道域名可以从以下网站获取: http://\${SERVER_IP_1}:\${METRICS_PORT}/quicktunnel"
E[61]="Ports are in used: \$REALITY_PORT"
C[61]="正在使用中的端口: \$REALITY_PORT"
E[62]="Create shortcut [argox] successfully."
C[62]="创建快捷 [argox] 指令成功!"
E[62]="Create shortcut [ argox ] successfully."
C[62]="创建快捷 [ argox ] 指令成功!"

# 自定义字体彩色,read 函数
warning() { echo -e "\033[31m\033[01m$*\033[0m"; } # 红色
Expand Down Expand Up @@ -897,8 +897,8 @@ export_list() {
check_install
# 没有开启 Argo 和 Xray 服务,将不输出节点信息
local APP
[ "${STATUS[0]}" != "$(text 28)" ] && APP+=(argo)
[ "${STATUS[1]}" != "$(text 28)" ] && APP+=(xray)
[ "${STATUS[0]}" != "$(text 28)" ] && APP+=(Argo)
[ "${STATUS[1]}" != "$(text 28)" ] && APP+=(Xray)
if [ "${#APP[@]}" -gt 0 ]; then
reading "\n $(text 50) " OPEN_APP
if [[ "$OPEN_APP" = [Yy] ]]; then
Expand Down

0 comments on commit f23d924

Please sign in to comment.