mobile download

This commit is contained in:
Macbook
2026-05-28 14:44:19 +09:00
parent e2816b037f
commit 3503ef33f5
152 changed files with 11021 additions and 687 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
# Android release APK → data/mobile-releases/ 복사
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
SRC="${1:-$ROOT/app/android/app/build/outputs/apk/release/app-release.apk}"
DEST="$ROOT/data/mobile-releases/goldenchart-android.apk"
mkdir -p "$(dirname "$DEST")"
if [[ ! -f "$SRC" ]]; then
echo "APK not found: $SRC"
echo "Build first: cd app/android && ./gradlew assembleRelease"
exit 1
fi
cp "$SRC" "$DEST"
echo "Copied to $DEST ($(du -h "$DEST" | cut -f1))"