Initial commit: Null DRM Official
Capture, decrypt, and restream toolkit with compiled-in app modules (RTE, TG4, BBC), on-device MITM proxy, streamd control plane, and www. BBC module.yaml is published (clear streams); other module values stay local.
This commit is contained in:
commit
2fa8f2435f
121 changed files with 17802 additions and 0 deletions
17
apps/proxy/device/build.sh
Normal file
17
apps/proxy/device/build.sh
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")"
|
||||
GO="${GO:-$(command -v go || true)}"
|
||||
if [[ -z "$GO" && -x /opt/homebrew/bin/go ]]; then
|
||||
GO=/opt/homebrew/bin/go
|
||||
fi
|
||||
if [[ -z "$GO" ]]; then
|
||||
echo "go not found; brew install go" >&2
|
||||
exit 1
|
||||
fi
|
||||
echo "building linux/arm64 with $GO"
|
||||
OUT="${OUT:-../proxy-android-arm64}"
|
||||
GOOS=linux GOARCH=arm64 CGO_ENABLED=0 "$GO" build -ldflags='-s -w' -o "$OUT" .
|
||||
file "$OUT"
|
||||
ls -lh "$OUT"
|
||||
# Prefer: from repo root → bin/proxyctl.exe build
|
||||
Loading…
Add table
Add a link
Reference in a new issue