009: publish AXPR23 final source and public documentation
This commit is contained in:
1 parent
72930e0fd6
commit
2c714d8d34
35 files changed
+2498
-403
No files matched your search
Executable
+24
@@ -0,0 +1,24 @@
|
||||
#!/bin/sh
|
||||
# Package the systemless IntelliRAT prototype without touching a ROM build.
|
||||
set -eu
|
||||
|
||||
ROOT=$(CDPATH= cd -- "$(dirname "$0")/.." && pwd)
|
||||
MODULE="$ROOT/modules/intellirat"
|
||||
OUTPUT=${1:-"$ROOT/artifacts/IntelliRAT-v0.2.0.zip"}
|
||||
|
||||
test -f "$MODULE/module.prop"
|
||||
test -x "$MODULE/system/bin/intellirat"
|
||||
test ! -e "$MODULE/action.sh"
|
||||
if [ ! -f "$MODULE/payload/IntelliRAT.apk" ]; then
|
||||
echo "WARNING: companion APK is not built; packaging backend-only module" >&2
|
||||
fi
|
||||
mkdir -p "$(dirname "$OUTPUT")"
|
||||
rm -f "$OUTPUT"
|
||||
|
||||
(
|
||||
cd "$MODULE"
|
||||
zip -qr "$OUTPUT" . -x README.md 'app/*' 'app/**'
|
||||
)
|
||||
|
||||
printf 'OK: %s\n' "$OUTPUT"
|
||||
sha256sum "$OUTPUT"
|
||||
Reference in new issue
Block a user