From ec9e124bd30601b833b2857a5abcbf37fb283301 Mon Sep 17 00:00:00 2001 From: Justin Travis Date: Mon, 1 Jan 2024 09:59:08 -0500 Subject: [PATCH] KASM-1209 Cleanup --- docs/redroid/README.md | 9 +++++---- docs/redroid/demo.txt | 6 +++--- .../install/android_studio/install_android_studio.sh | 4 +++- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/docs/redroid/README.md b/docs/redroid/README.md index c16f83a..abfa1ec 100644 --- a/docs/redroid/README.md +++ b/docs/redroid/README.md @@ -1,6 +1,7 @@ # About This Image This Image contains a browser-accessible version of [Redroid](https://github.com/remote-android/redroid-doc). +redroid (Remote-Android) is a multi-arch, GPU enabled, Android in Cloud solution. ![Screenshot][Image_Screenshot] @@ -14,10 +15,10 @@ See [Redroid Docs](https://github.com/remote-android/redroid-doc?tab=readme-ov-f # Environment Variables * `REDROID_GPU_GUEST_MODE` - Used to instruct redroid to utilize GPU rendering. Options are `auto`, `guest`, and `host` -* `REDROID_FPS` - Set the maximum FPS for redroid and scrcpy -* `REDROID_WIDTH` - Set the desired width of the redroid device -* `REDROID_HEIGHT` - Set the desired height of the redroid device -* `REDROID_DPI` - Set the desired DPI of the redroid device +* `REDROID_FPS` - Set the maximum FPS for redroid and scrcpy. +* `REDROID_WIDTH` - Set the desired width of the redroid device. +* `REDROID_HEIGHT` - Set the desired height of the redroid device. +* `REDROID_DPI` - Set the desired DPI of the redroid device. * `REDROID_SHOW_CONSOLE` - Display the scrcpy console after launching the redroid device. * `REDROID_DISABLE_AUTOSTART` - If set to "1", the container will not automatically pull and start the redroid container and scrcpy. * `REDROID_DISABLE_HOST_CHECKS` - If set to "1", the container will not check for the presence of required host level kernel modules. diff --git a/docs/redroid/demo.txt b/docs/redroid/demo.txt index 6eb92d4..152a949 100644 --- a/docs/redroid/demo.txt +++ b/docs/redroid/demo.txt @@ -1,9 +1,9 @@ # Live Demo - + -**Launch a real-time demo in a new browser window:** Live Demo. +**Launch a real-time demo in a new browser window:** Live Demo. - + ∗*Note: Demo is limited to 3 minutes and has upload/downloads restricted for security purposes.* diff --git a/src/ubuntu/install/android_studio/install_android_studio.sh b/src/ubuntu/install/android_studio/install_android_studio.sh index effb50d..b8ee382 100644 --- a/src/ubuntu/install/android_studio/install_android_studio.sh +++ b/src/ubuntu/install/android_studio/install_android_studio.sh @@ -4,13 +4,15 @@ set -ex ARCH=$(arch | sed 's/aarch64/arm64/g' | sed 's/x86_64/amd64/g') if [ "$ARCH" == "arm64" ] ; then - echo "Chrome not supported on arm64, skipping Chrome installation" + echo "Android studio not supported on arm64, skipping installation" exit 0 fi apt-get update apt-get install -y libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386 openjdk-18-jdk +# https://developer.android.com/studio/archive +# curl https://developer.android.com/studio | grep android-studio | grep -i "linux.tar.gz" | grep ide-zips | cut -d '"' -f2 ANDROID_STUDIO_DOWNLOAD_URL="https://redirector.gvt1.com/edgedl/android/studio/ide-zips/2023.1.1.26/android-studio-2023.1.1.26-linux.tar.gz" curl -o /tmp/android_studio.tar.gz -L "${ANDROID_STUDIO_DOWNLOAD_URL}"