From 507060762ccd1c0ea568cd4b2204b9cfd66c9088 Mon Sep 17 00:00:00 2001 From: xyzmean <163691714+xyzmean@users.noreply.github.com> Date: Wed, 23 Sep 2026 22:02:34 +0300 Subject: [PATCH] =?UTF-8?q?=D0=90=D0=B2=D1=82=D0=BE=D0=BE=D0=B1=D1=85?= =?UTF-8?q?=D0=BE=D0=B4:=20=D1=80=D0=BE=D0=BB=D0=B8=D0=BA=20=D0=B2=20files?= =?UTF-8?q?/AutoBypass=20=D1=81=20=D0=BA=D0=B0=D1=82=D0=B0=D0=BB=D0=BE?= =?UTF-8?q?=D0=B3=D0=BE=D0=BC=20videos.txt,=20=D0=B7=D0=B0=D0=BF=D0=B0?= =?UTF-8?q?=D1=81=D0=BD=D0=B0=D1=8F=20=D0=B2=D0=B5=D1=80=D1=81=D0=B8=D1=8F?= =?UTF-8?q?=20tgws=200.2.8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Код 1.38 ищет ролики в files/AutoBypass и их список в videos.txt — ролик переехал туда из files/RedButton, каталог заведён. Запасной источник в форке смотрит туда же. Запасная версия tgws (если GitLab не ответил) — 0.2.8: в ней починены картинки Telegram (ДЦ203). --- ZapretManager_LuCI.sh | 6 +++--- files/{RedButton => AutoBypass}/poster.jpg | Bin files/AutoBypass/videos.txt | 2 ++ files/{RedButton => AutoBypass}/wait.mp4 | Bin 4 files changed, 5 insertions(+), 3 deletions(-) rename files/{RedButton => AutoBypass}/poster.jpg (100%) create mode 100644 files/AutoBypass/videos.txt rename files/{RedButton => AutoBypass}/wait.mp4 (100%) diff --git a/ZapretManager_LuCI.sh b/ZapretManager_LuCI.sh index f4e371f..e28240c 100644 --- a/ZapretManager_LuCI.sh +++ b/ZapretManager_LuCI.sh @@ -1568,7 +1568,7 @@ nfqws_opt_set() { TG_MTPROTO_VER="0.10" -TGWS_VERSION="0.2.5" +TGWS_VERSION="0.2.8" TGWS_BASE_URL="https://gitlab.com/xyzmean/brb/-/raw/main/dist" TGWS_VERSION_URL="https://gitlab.com/xyzmean/brb/-/raw/main/VERSION" TG_GO_VER="1.4.1" @@ -7915,8 +7915,8 @@ var VIDEO_BASES = [ // Запас для стандартного ролика: он же лежит в репозитории автора кнопки. Плеер берёт первый // источник, который открылся, так что пока на нашем сервере файла нет, играет этот. var VIDEO_SPARE = [ - 'https://cdn.jsdelivr.net/gh/xyzmean/Zapret-Manager-Exp@main/files/RedButton/', - 'https://raw.githubusercontent.com/xyzmean/Zapret-Manager-Exp/main/files/RedButton/' + 'https://cdn.jsdelivr.net/gh/xyzmean/Zapret-Manager-Exp@main/files/AutoBypass/', + 'https://raw.githubusercontent.com/xyzmean/Zapret-Manager-Exp/main/files/AutoBypass/' ]; var VIDEO_DEFAULT = { file: 'wait.mp4', name: 'Стандартное', poster: 'poster.jpg' }; diff --git a/files/RedButton/poster.jpg b/files/AutoBypass/poster.jpg similarity index 100% rename from files/RedButton/poster.jpg rename to files/AutoBypass/poster.jpg diff --git a/files/AutoBypass/videos.txt b/files/AutoBypass/videos.txt new file mode 100644 index 0000000..9e2ccbe --- /dev/null +++ b/files/AutoBypass/videos.txt @@ -0,0 +1,2 @@ +# Ролики автообхода: файл.mp4|Название|постер.jpg. Файлы лежат рядом, в files/AutoBypass. +wait.mp4|Стандартное|poster.jpg diff --git a/files/RedButton/wait.mp4 b/files/AutoBypass/wait.mp4 similarity index 100% rename from files/RedButton/wait.mp4 rename to files/AutoBypass/wait.mp4