From 3b80b5fa56e8cf5a0c8f25dd8ae6f57f64a3f5cb Mon Sep 17 00:00:00 2001 From: StressOzz <131419324+StressOzz@users.noreply.github.com> Date: Fri, 19 Jun 2026 00:21:22 +0500 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D1=8F?= =?UTF-8?q?=D0=B5=D0=BC=20=D0=B4=D0=BE=D0=BC=D0=B5=D0=BD=D1=8B=20github=20?= =?UTF-8?q?=D0=B5=D1=81=D0=BB=D0=B8=20=D0=B8=D1=85=20=D0=BD=D0=B5=D1=82,?= =?UTF-8?q?=20=D1=82=D0=B0=D0=BA=20=D0=BA=D0=B0=D0=BA=20=D0=BD=D0=B0=D0=B1?= =?UTF-8?q?=D0=BB=D1=8E=D0=B4=D0=B0=D1=8E=D1=82=D1=81=D1=8F=20=D0=BF=D1=80?= =?UTF-8?q?=D0=BE=D0=B1=D0=BB=D0=B5=D0=BC=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zapret-Manager.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Zapret-Manager.sh b/Zapret-Manager.sh index 62d305e..5902cd5 100644 --- a/Zapret-Manager.sh +++ b/Zapret-Manager.sh @@ -81,6 +81,10 @@ clear ; echo -e "${CYAN}Cобираем версии:${NC}" ; TMP_VER="/tmp/zapr get_ver "https://github.com/yandexru45/netshift/releases/latest" "$TMP_VER_POD" "NetShift" & get_ver "https://github.com/remittor/zapret-openwrt/releases/latest" "$TMP_VER" "Zapret" & get_ver "https://github.com/spatiumstas/tg-ws-proxy-go/releases/latest" "$TMP_VER_GO" "TG-WS Proxy GO" & wait; [ -s "$TMP_VER" ] && ZAPRET_VERSION="$(cat "$TMP_VER")"; [ -s "$TMP_VER_POD" ] && PODKOP_LATEST_VER="$(cat "$TMP_VER_POD")"; [ -s "$TMP_VER_GO" ] && GO_VER="$(cat "$TMP_VER_GO")" echo 'sh <(wget -O - https://raw.githubusercontent.com/StressOzz/Zapret-Manager/main/Zapret-Manager.sh)' > /usr/bin/zms; chmod +x /usr/bin/zms + +git="githubusercontent.com"; if ! grep -q "raw.$git" /etc/hosts; then echo -e "\n\033[1;36mДля корректной работы скрипта добавляем домены \033[0mGitHub\033[1;36m в \033[0m/etc/hosts\033[0m" +printf "#$git\n185.199.109.133 raw.$git release-assets.$git\n185.199.108.133 private-user-images.$git gist.$git avatars.$git\n" >> /etc/hosts; /etc/init.d/dnsmasq restart >/dev/null 2>&1; fi + # ========================================== # Получение версии # ==========================================