From 15011c2756c088753542e1f2ea95404904e9c524 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D0=BE=D0=B1=D1=8B=D1=80=D0=B5=D0=B2=20=D0=90=D0=BD?= =?UTF-8?q?=D0=B4=D1=80=D0=B5=D0=B9?= Date: Sun, 1 Nov 2026 15:18:23 +0300 Subject: [PATCH] =?UTF-8?q?phobos-client.sh:=20=D0=BB=D0=B8=D0=BC=D0=B8?= =?UTF-8?q?=D1=82=20GitHub=20API=20=D0=BD=D0=B5=20=D0=B2=D0=B0=D0=BB=D0=B8?= =?UTF-8?q?=D1=82=20=D1=81=D0=B1=D0=BE=D1=80=D0=BA=D1=83=20=D0=BF=D0=B0?= =?UTF-8?q?=D0=BA=D0=B5=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- overlay/phobos-client.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overlay/phobos-client.sh b/overlay/phobos-client.sh index cdb52f1..1b71b71 100755 --- a/overlay/phobos-client.sh +++ b/overlay/phobos-client.sh @@ -220,7 +220,7 @@ action_package() { cp "$dir/wg-obfuscator.conf" "$pkg_root/wg-obfuscator.conf" # Fetch missing router-arch binaries from ClusterM on-demand - local _tag; _tag=$(curl -fsSL -m10 https://api.github.com/repos/ClusterM/wg-obfuscator/releases/latest 2>/dev/null | grep '"tag_name"' | head -1 | sed 's/.*"tag_name": *"\(.*\)".*/\1/') + local _tag; _tag=$(curl -fsSL -m10 https://api.github.com/repos/ClusterM/wg-obfuscator/releases/latest 2>/dev/null | grep '"tag_name"' | head -1 | sed 's/.*"tag_name": *"\(.*\)".*/\1/') || _tag="" # ponytail: GitHub API rate limit/недоступность не должны ронять сборку пакета — берём уже скачанные бинарники local _cb="https://github.com/ClusterM/wg-obfuscator/releases/download/${_tag}" declare -A _am=([aarch64]="linux-arm64" [mipsel]="linux-mipsel-mips32" [mips]="linux-mips-mips32" [armv7]="linux-armv7-hf" [x86_64]="linux-x64") for _arch in aarch64 mipsel mips armv7 x86_64; do