fix: update all install URLs from GitHub to dl.samnet.dev

GitHub account suspended - migrate download URLs to Gitea mirror.
This commit is contained in:
SamNet-dev
2026-02-24 08:05:09 -06:00
parent b490190b89
commit 8deda0f96c
3 changed files with 6 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/bash
# MTProxyMax Quick Installer — SamNet Technologies
# Usage: curl -sL https://raw.githubusercontent.com/SamNet-dev/MTProxyMax/main/install.sh | sudo bash
# Usage: curl -sL https://dl.samnet.dev/SamNet-dev/MTProxyMax/raw/branch/main/install.sh | sudo bash
set -e
SCRIPT_URL="https://raw.githubusercontent.com/SamNet-dev/MTProxyMax/main/mtproxymax.sh"
SCRIPT_URL="https://dl.samnet.dev/SamNet-dev/MTProxyMax/raw/branch/main/mtproxymax.sh"
if [ "$(id -u)" -ne 0 ]; then echo "Run as root: curl -sL $SCRIPT_URL | sudo bash" >&2; exit 1; fi
curl -fsSL "$SCRIPT_URL" -o /tmp/mtproxymax.sh && bash /tmp/mtproxymax.sh install && rm -f /tmp/mtproxymax.sh