Skip to content

Commit

Permalink
Update x-ui.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxilu authored Aug 25, 2021
1 parent 56c30d4 commit 5d118af
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions x-ui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ before_show_menu() {
}

install() {
bash <(curl -Ls https://blog.sprov.xyz/x-ui.sh)
bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)
if [[ $? == 0 ]]; then
if [[ $# == 0 ]]; then
start
Expand All @@ -101,7 +101,7 @@ update() {
fi
return 0
fi
bash <(curl -Ls https://raw.githubusercontent.com/sprov065/x-ui/master/install.sh)
bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)
if [[ $? == 0 ]]; then
echo -e "${green}更新完成,已自动重启面板${plain}"
exit 0
Expand All @@ -127,9 +127,6 @@ uninstall() {
echo ""
echo -e "卸载成功,如果你想删除此脚本,则退出脚本后运行 ${green}rm /usr/bin/x-ui -f${plain} 进行删除"
echo ""
echo -e "Telegram 群组: ${green}https://t.me/sprov_blog${plain}"
echo -e "Github issues: ${green}https://github.com/sprov065/x-ui/issues${plain}"
echo -e "博客: ${green}https://blog.sprov.xyz/x-ui${plain}"

if [[ $# == 0 ]]; then
before_show_menu
Expand Down Expand Up @@ -284,7 +281,7 @@ install_bbr() {
}

update_shell() {
wget -O /usr/bin/x-ui -N --no-check-certificate https://github.com/sprov065/x-ui/raw/master/x-ui.sh
wget -O /usr/bin/x-ui -N --no-check-certificate https://github.com/vaxilu/x-ui/raw/master/x-ui.sh
if [[ $? != 0 ]]; then
echo ""
echo -e "${red}下载脚本失败,请检查本机能否连接 Github${plain}"
Expand Down Expand Up @@ -410,7 +407,6 @@ show_usage() {
show_menu() {
echo -e "
${green}x-ui 面板管理脚本${plain}
--- https://blog.sprov.xyz/x-ui ---
${green}0.${plain} 退出脚本
————————————————
${green}1.${plain} 安装 x-ui
Expand Down

0 comments on commit 5d118af

Please sign in to comment.