Stabilize auth flow and profile images
This commit is contained in:
Executable
+20
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
ROOT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
IMAGE="${FLUTTER_DOCKER_IMAGE:-ghcr.io/cirruslabs/flutter:stable}"
|
||||
OUT_DIR="$ROOT_DIR/.tools/android-platform-tools"
|
||||
|
||||
mkdir -p "$OUT_DIR"
|
||||
|
||||
docker run --rm \
|
||||
-v "$OUT_DIR:/out" \
|
||||
"$IMAGE" \
|
||||
sh -lc '
|
||||
set -e
|
||||
adb_path="$(command -v adb)"
|
||||
cp "$adb_path" /out/adb
|
||||
chmod 755 /out/adb
|
||||
'
|
||||
|
||||
"$OUT_DIR/adb" version
|
||||
Reference in New Issue
Block a user