Skip to content

Commit

Permalink
Update x-ui.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
mashkouk authored Nov 1, 2024
1 parent a0af323 commit 0fd5b65
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions x-ui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ before_show_menu() {
}

install() {
bash <(curl -Ls https://raw.githubusercontent.com/MHSanaei/3x-ui/main/install.sh)
bash <(curl -Ls https://raw.githubusercontent.com/mashkouk/3x-ui/main/install.sh)
if [[ $? == 0 ]]; then
if [[ $# == 0 ]]; then
start
Expand All @@ -161,7 +161,7 @@ update() {
fi
return 0
fi
bash <(curl -Ls https://raw.githubusercontent.com/MHSanaei/3x-ui/main/install.sh)
bash <(curl -Ls https://raw.githubusercontent.com/mashkouk/3x-ui/main/install.sh)
if [[ $? == 0 ]]; then
LOGI "Update is complete, Panel has automatically restarted "
exit 0
Expand All @@ -179,7 +179,7 @@ update_menu() {
return 0
fi

wget --no-check-certificate -O /usr/bin/x-ui https://raw.githubusercontent.com/MHSanaei/3x-ui/main/x-ui.sh
wget --no-check-certificate -O /usr/bin/x-ui https://raw.githubusercontent.com/mashkouk/3x-ui/main/x-ui.sh
chmod +x /usr/local/x-ui/x-ui.sh
chmod +x /usr/bin/x-ui

Expand All @@ -201,7 +201,7 @@ legacy_version() {
exit 1
fi
# Use the entered panel version in the download link
install_command="bash <(curl -Ls "https://raw.githubusercontent.com/mhsanaei/3x-ui/v$tag_version/install.sh") v$tag_version"
install_command="bash <(curl -Ls "https://raw.githubusercontent.com/mashkouk/3x-ui/v$tag_version/install.sh") v$tag_version"

echo "Downloading and installing panel version $tag_version..."
eval $install_command
Expand Down Expand Up @@ -232,7 +232,7 @@ uninstall() {
echo ""
echo -e "Uninstalled Successfully.\n"
echo "If you need to install this panel again, you can use below command:"
echo -e "${green}bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh)${plain}"
echo -e "${green}bash <(curl -Ls https://raw.githubusercontent.com/mashkouk/3x-ui/master/install.sh)${plain}"
echo ""
# Trap the SIGTERM signal
trap delete_script SIGTERM
Expand Down Expand Up @@ -538,7 +538,7 @@ enable_bbr() {
}

update_shell() {
wget -O /usr/bin/x-ui -N --no-check-certificate https://github.com/MHSanaei/3x-ui/raw/main/x-ui.sh
wget -O /usr/bin/x-ui -N --no-check-certificate https://github.com/mashkouk/3x-ui/raw/main/x-ui.sh
if [[ $? != 0 ]]; then
echo ""
LOGE "Failed to download script, Please check whether the machine can connect Github"
Expand Down

0 comments on commit 0fd5b65

Please sign in to comment.