release 1.5.0: one panel in all channels; Apple apps (iOS, new macOS tab) only in beta/dev
- stable gets the beta panel and server features (new design, presets, firewall, monthly traffic, router failover over all ports/addresses + TCP, altip, HR tab, Windows tab, update banner); ios/ macos/ windows/ sources stay out of stable - menu item "Update to N" under Settings when a new version is out - mobile: top menu no longer stretches to 200px - urllib User-Agent: Cloudflare in front of git.bobyrev.com returns 403 to Python-urllib - docs: GitHub adleibzon-rgb as source, password/uninstall/devices sections, new screenshots, PORTS.md TCP fallback and second IP Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -23,6 +23,20 @@ resolve_install_names() {
|
||||
fi
|
||||
|
||||
if [ -f "$binary_path" ] && [ -f "$PHOBOS_DIR/${CLIENT_NAME}.conf" ]; then
|
||||
# 02.11.2026: переустановка — берём те же имена, что у этой учётки (по *.link),
|
||||
# иначе доп. учётка затёрла бы обфускатор главной
|
||||
local l n sc
|
||||
for l in "$PHOBOS_DIR"/wg-obfuscator?*.link; do
|
||||
[ "$(cat "$l" 2>/dev/null)" = "${CLIENT_NAME}" ] || continue
|
||||
n=$(basename "$l" .link); n=${n#wg-obfuscator}
|
||||
sc=$(grep -l "/wg-obfuscator${n}.conf\"\$" /opt/etc/init.d/S*wg-obfuscator 2>/dev/null | head -1)
|
||||
OBF_BINARY_NAME="wg-obfuscator${n}"
|
||||
OBF_CONF_NAME="wg-obfuscator${n}.conf"
|
||||
OBF_INIT_NAME=$(basename "${sc:-S50wg-obfuscator}")
|
||||
OBF_SERVICE_NAME="phobos-obfuscator${n}"
|
||||
OBF_WG_IFACE="phobos${n}"
|
||||
return
|
||||
done
|
||||
return
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user