aboutsummaryrefslogtreecommitdiff
path: root/com.github.remoteandroid.redroid/run.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--com.github.remoteandroid.redroid/run.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/com.github.remoteandroid.redroid/run.sh b/com.github.remoteandroid.redroid/run.sh
new file mode 100644
index 0000000..86310ba
--- /dev/null
+++ b/com.github.remoteandroid.redroid/run.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/bash
+if [[ ! -d /dev/binderfs ]]; then
+ /app/bin/setup-binder
+fi
+sudo podman run -itd --rm --privileged -v ~/data:/data -p 5555:5555 docker.io/redroid/redroid:13.0.0-amd64 androidboot.use_memfd=true
+adb connect localhost:5555 2>&1 && adb connect localhost:5555
+scrcpy -s localhost:5555 2>&1 && scrcpy -s localhost:5555
+