Update brew cask documentation
The command `brew cask` has been deprecated: <https://github.com/Homebrew/discussions/discussions/340#discussioncomment-232364> Should be `brew install` directly now. PR #2231 <https://github.com/Genymobile/scrcpy/pull/2231> Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
parent
b77932a5b7
commit
d50c678a5f
2 changed files with 2 additions and 6 deletions
2
BUILD.md
2
BUILD.md
|
@ -208,7 +208,7 @@ make it avaliable from the `PATH`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
brew tap homebrew/cask-versions
|
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 JAVA_HOME="$(/usr/libexec/java_home --version 1.8)"
|
||||||
export PATH="$JAVA_HOME/bin:$PATH"
|
export PATH="$JAVA_HOME/bin:$PATH"
|
||||||
```
|
```
|
||||||
|
|
|
@ -127,11 +127,7 @@ brew install scrcpy
|
||||||
You need `adb`, accessible from your `PATH`. If you don't have it yet:
|
You need `adb`, accessible from your `PATH`. If you don't have it yet:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Homebrew >= 2.6.0
|
brew install android-platform-tools
|
||||||
brew install --cask android-platform-tools
|
|
||||||
|
|
||||||
# Homebrew < 2.6.0
|
|
||||||
brew cask install android-platform-tools
|
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also [build the app manually][BUILD].
|
You can also [build the app manually][BUILD].
|
||||||
|
|
Loading…
Reference in a new issue