Files
runaway/examples/build-standalone.sh
T
ruihan 8defc9c7cc feat: examples, standalone, monitor-install, quickstart
- auto-bypass-usb.sh: one-click bypass from SSD
- prepare-ssd.sh: prepare the SSD before you need it
- build-standalone.sh: now bundles all 12 lib modules (+check, +monitor)
- runaway-standalone.sh: v1.2.0, 1958 lines, all commands included
- monitor-install / monitor-uninstall: monitor as persistent LaunchDaemon
- QUICKSTART.md: Portuguese/English quick reference for SSD
- Responded to 8 more bypass-mdm issues
- Attached standalone to Release v1.2.0
2026-06-20 12:14:26 -03:00

23 lines
658 B
Bash
Executable File

#!/bin/bash
OUT="unleash-standalone.sh"
SCRIPT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
VERSION="$(grep '^VERSION=' "$SCRIPT_DIR/unleash" | head -1 | cut -d'"' -f2)"
[ -z "$VERSION" ] && VERSION="1.0.0"
cat > "$OUT" << HEADER
#!/bin/bash
set -euo pipefail
VERSION="$VERSION"
HEADER
for lib in colors detect validate dscl suppress backup status heal firewall harden whitelist check monitor; do
tail -n +1 "$SCRIPT_DIR/lib/$lib.sh" >> "$OUT"
echo "" >> "$OUT"
done
sed -e '1,/_lib in /d' -e '/^done$/,$!d' -e '/^done$/d' "$SCRIPT_DIR/unleash" >> "$OUT"
chmod +x "$OUT"
echo "Created: $OUT (v$VERSION, $(wc -c < "$OUT") bytes, $(wc -l < "$OUT") lines)"