diff --git a/README.md b/README.md index 9c128c2..c64401c 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ MTProxyMax is a full-featured Telegram MTProto proxy manager powered by the **te MTProxyMax Main Menu ```bash -sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/SamNet-dev/MTProxyMax/main/install.sh)" +sudo bash -c "$(curl -fsSL https://dl.samnet.dev/SamNet-dev/MTProxyMax/raw/branch/main/install.sh)" ``` --- @@ -53,7 +53,7 @@ Most MTProxy tools give you a proxy and a link. That's it. MTProxyMax gives you ### One-Line Install ```bash -sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/SamNet-dev/MTProxyMax/main/install.sh)" +sudo bash -c "$(curl -fsSL https://dl.samnet.dev/SamNet-dev/MTProxyMax/raw/branch/main/install.sh)" ``` The interactive wizard walks you through everything: port, domain, first user secret, and optional Telegram bot setup. @@ -61,7 +61,7 @@ The interactive wizard walks you through everything: port, domain, first user se ### Manual Install ```bash -curl -fsSL https://raw.githubusercontent.com/SamNet-dev/MTProxyMax/main/mtproxymax.sh -o mtproxymax +curl -fsSL https://dl.samnet.dev/SamNet-dev/MTProxyMax/raw/branch/main/mtproxymax.sh -o mtproxymax chmod +x mtproxymax sudo ./mtproxymax install ``` diff --git a/install.sh b/install.sh index 39dac49..295dacd 100644 --- a/install.sh +++ b/install.sh @@ -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 diff --git a/mtproxymax.sh b/mtproxymax.sh index fab5f6d..7fda48b 100644 --- a/mtproxymax.sh +++ b/mtproxymax.sh @@ -2,7 +2,7 @@ # ═══════════════════════════════════════════════════════════════ # MTProxyMax v1.0 — The Ultimate Telegram Proxy Manager # Copyright (c) 2026 SamNet Technologies -# https://github.com/SamNet-dev/MTProxyMax +# https://git.samnet.dev/SamNet-dev/MTProxyMax # # Engine: telemt 3.x (Rust+Tokio) # License: MIT