mirror of
https://github.com/XrayR-project/XrayR-release.git
synced 2025-06-08 05:19:55 +00:00
Merge branch 'master' of https://github.com/XrayR-project/XrayR-release
This commit is contained in:
commit
7b3ffc9ea2
@ -14,7 +14,7 @@ ConnetionConfig:
|
||||
BufferSize: 64 # The internal cache size of each connection, kB
|
||||
Nodes:
|
||||
-
|
||||
PanelType: "SSpanel" # Panel type: SSpanel, V2board, PMpanel, , Proxypanel
|
||||
PanelType: "SSpanel" # Panel type: SSpanel, V2board, PMpanel, Proxypanel, V2RaySocks
|
||||
ApiConfig:
|
||||
ApiHost: "http://127.0.0.1:667"
|
||||
ApiKey: "123"
|
||||
|
@ -121,12 +121,16 @@ install_XrayR() {
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
if [[ $1 == v* ]]; then
|
||||
last_version=$1
|
||||
else
|
||||
last_version="v"$1
|
||||
fi
|
||||
url="https://github.com/XrayR-project/XrayR/releases/download/${last_version}/XrayR-linux-${arch}.zip"
|
||||
echo -e "开始安装 XrayR v$1"
|
||||
echo -e "开始安装 XrayR ${last_version}"
|
||||
wget -q -N --no-check-certificate -O /usr/local/XrayR/XrayR-linux.zip ${url}
|
||||
if [[ $? -ne 0 ]]; then
|
||||
echo -e "${red}下载 XrayR v$1 失败,请确保此版本存在${plain}"
|
||||
echo -e "${red}下载 XrayR ${last_version} 失败,请确保此版本存在${plain}"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user