From a867aa8775043860a18421b87a5c91fb0545b0be Mon Sep 17 00:00:00 2001 From: windyday <63159472+CoverUp137@users.noreply.github.com> Date: Sun, 22 Jun 2025 01:57:47 +0800 Subject: [PATCH] Update xray.sh --- xray/xray.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xray/xray.sh b/xray/xray.sh index 55f0c50..e678bbf 100644 --- a/xray/xray.sh +++ b/xray/xray.sh @@ -268,7 +268,7 @@ InstallFile() { cd "$xray_install_directory" || Error "Create cns install directory failed." #install xray github_repo="https://github.com/CoverUp137/cns/releases/download/xray" - $download_tool_cmd cns "$github_repo/xray-linux-${machine}${softfloat}" || Error "xray download failed." + $download_tool_cmd xray "$github_repo/xray-linux-${machine}${softfloat}" || Error "xray download failed." $download_tool_cmd xray.init https://raw.githubusercontent.com/CoverUp137/cns/refs/heads/main/xray/xray.init || Error "xray.init download failed." [ -f '/etc/rc.common' ] && rcCommon='/etc/rc.common' sed -i "s~#!/bin/sh~#!$SHELL $rcCommon~" xray.init