가상매매 시간봉 제거
This commit is contained in:
Executable
+21
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
# app/google-services.json → app/android/app/ (Gradle google-services 플러그인)
|
||||
set -euo pipefail
|
||||
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
SRC="$ROOT/app/google-services.json"
|
||||
DEST="$ROOT/app/android/app/google-services.json"
|
||||
|
||||
if [[ ! -f "$SRC" ]]; then
|
||||
echo "[FCM] google-services.json 없음: $SRC"
|
||||
echo " Firebase Console → com.goldenchart.app → json 다운로드 후 app/ 에 두세요."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! grep -q '"package_name": "com.goldenchart.app"' "$SRC" 2>/dev/null; then
|
||||
echo "[FCM] $SRC 에 com.goldenchart.app 패키지가 없습니다."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
mkdir -p "$(dirname "$DEST")"
|
||||
cp "$SRC" "$DEST"
|
||||
echo "[FCM] ✓ $DEST"
|
||||
Reference in New Issue
Block a user