From c0531a96c8d267932f74997e1007d80122ae50c7 Mon Sep 17 00:00:00 2001 From: misakano7545 Date: Sat, 30 Apr 2022 16:54:52 +0800 Subject: [PATCH] Change get script method to wget --- README.md | 2 +- install.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dbe578f..694e4f0 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Find the source code here: [XrayR-project/XrayR](https://github.com/XrayR-projec # 一键安装 ``` -bash <(curl -Ls https://raw.githubusercontent.com/XrayR-project/XrayR-release/master/install.sh) +wget -N https://raw.githubusercontent.com/XrayR-project/XrayR-release/master/install.sh && bash install.sh ``` # Docker 安装 diff --git a/install.sh b/install.sh index 302a494..b1bb1bd 100644 --- a/install.sh +++ b/install.sh @@ -179,6 +179,8 @@ install_XrayR() { chmod +x /usr/bin/XrayR ln -s /usr/bin/XrayR /usr/bin/xrayr # 小写兼容 chmod +x /usr/bin/xrayr + cd $cur_dir + rm -f install.sh echo -e "" echo "XrayR 管理脚本使用方法 (兼容使用xrayr执行,大小写不敏感): " echo "------------------------------------------"