refactor(rebrand): полный ребрендинг в Tachyon и перенос служб watchdog/doctor на Ucode

This commit is contained in:
Dushnilin
2026-07-13 14:09:38 +03:00
parent e89a795566
commit f57dac6b52
203 changed files with 7756 additions and 7063 deletions
+4 -4
View File
@@ -2,9 +2,9 @@
set -eo pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
FORKOP_LIB="$ROOT_DIR/forkop/files/usr/lib"
PARSER="$ROOT_DIR/forkop/files/usr/lib/subscription/parser.uc"
GENERATOR="$ROOT_DIR/forkop/files/usr/lib/singbox/generator.uc"
TACHYON_LIB="$ROOT_DIR/tachyon/files/usr/lib"
PARSER="$ROOT_DIR/tachyon/files/usr/lib/subscription/parser.uc"
GENERATOR="$ROOT_DIR/tachyon/files/usr/lib/singbox/generator.uc"
WORK_DIR="$(mktemp -d)"
cleanup() {
@@ -119,7 +119,7 @@ cat >"$generator_fixture" <<'JSON'
}
JSON
TMP_SUBSCRIPTION_FOLDER="$WORK_DIR/subscriptions" \
ucode -L "$FORKOP_LIB" "$GENERATOR" generate-config-fixture \
ucode -L "$TACHYON_LIB" "$GENERATOR" generate-config-fixture \
"$generator_fixture" "$generator_output" "127.0.0.1" "0"
assert_contains "$generator_output" '"type": "hysteria2"' "generated stale HY2 type"
if grep -Fq '"utls"' "$generator_output"; then