From d50c678a5f9174b6ba99b27bed8faa789ed5e070 Mon Sep 17 00:00:00 2001 From: quyleanh Date: Fri, 2 Apr 2021 20:47:37 +0700 Subject: [PATCH] Update brew cask documentation The command `brew cask` has been deprecated: Should be `brew install` directly now. PR #2231 Signed-off-by: Romain Vimont --- BUILD.md | 2 +- README.md | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) 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].