v0.1.0
This commit is contained in:
1 parent
a92a76b7ae
commit
61ef2aa2bd
86 files changed
+7230
-327
No files matched your search
+4
-3
@@ -2,7 +2,7 @@
|
||||
set -e
|
||||
|
||||
ROOT="$(cd "$(dirname "$0")" && pwd)"
|
||||
cd "$ROOT/app"
|
||||
cd "$ROOT/android-app"
|
||||
|
||||
[ -f "./gradlew" ] || { echo "gradlew not found"; exit 1; }
|
||||
|
||||
@@ -11,8 +11,9 @@ echo "Building APK..."
|
||||
|
||||
APK="app/build/outputs/apk/debug/app-debug.apk"
|
||||
if [ -f "$APK" ]; then
|
||||
cp "$APK" "$ROOT/whitelist-bypass.apk"
|
||||
echo "APK ready: whitelist-bypass.apk ($(du -h "$ROOT/whitelist-bypass.apk" | cut -f1))"
|
||||
mkdir -p "$ROOT/prebuilts"
|
||||
cp "$APK" "$ROOT/prebuilts/whitelist-bypass.apk"
|
||||
echo "APK ready: prebuilts/whitelist-bypass.apk ($(du -h "$ROOT/prebuilts/whitelist-bypass.apk" | cut -f1))"
|
||||
else
|
||||
echo "Build failed, APK not found"
|
||||
exit 1
|
||||
|
||||
Reference in new issue
Block a user