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 "------------------------------------------"