Skip to content

Display and control your Android device

Update brew cask documentation

quyleanhd50c678a5f91
diff --git a/BUILD.md b/BUILD.md
index f20d5921..2ca08173 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -208,7 +208,7 @@ make it avaliable from the `PATH`:
```bash
brew tap homebrew/cask-versions
-brew cask install adoptopenjdk/openjdk/adoptopenjdk8
+brew install adoptopenjdk/openjdk/adoptopenjdk8
export JAVA_HOME="$(/usr/libexec/java_home --version 1.8)"
export PATH="$JAVA_HOME/bin:$PATH"
```
diff --git a/README.md b/README.md
index 0b0dc8a6..7a4b7d41 100644
--- a/README.md
+++ b/README.md
@@ -127,11 +127,7 @@ brew install scrcpy
You need `adb`, accessible from your `PATH`. If you don't have it yet:
```bash
-# Homebrew >= 2.6.0
-brew install --cask android-platform-tools
-
-# Homebrew < 2.6.0
-brew cask install android-platform-tools
+brew install android-platform-tools
```
You can also [build the app manually][BUILD].