chore: migrate all URLs to git.jskdjs.cn, drop GitHub-specific distribution

This commit is contained in:
2026-11-09 10:31:11 +08:00
parent dd793f24fd
commit b4de699a32
26 changed files with 93 additions and 214 deletions
+3 -8
View File
@@ -24,12 +24,7 @@ telemetry_is_enabled() {
telemetry_send() {
telemetry_is_enabled || return 0
local event="$1"
local data="${2:-{}}"
local url="https://runaway-telemetry.mateussiqueira.workers.dev/event"
local payload
payload=$(printf '{"event":"%s","version":"%s","arch":"%s","os":"%s","data":%s}' \
"$event" "$VERSION" "$(uname -m)" "$(uname -s)" "$data")
curl -s -o /dev/null -w "" -H "Content-Type: application/json" \
-d "$payload" "$url" 2>/dev/null || true
# Upstream telemetry collector removed in this fork; nothing is sent.
# Kept as a no-op so opt-in state and call sites keep working.
return 0
}