Fix deprecated brew command

`brew cask` is an outdated command, replaced by `brew install --cask`.

Refs #5398 <https://github.com/Genymobile/scrcpy/pull/5398>
PR #6149 <https://github.com/Genymobile/scrcpy/pull/6149>

Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
berk ziya 2025-06-12 16:27:40 +03:00 committed by Romain Vimont
commit 38256d8ff9

View file

@ -110,7 +110,7 @@ show_adb_installation_msg(void) {
} pkg_managers[] = { } pkg_managers[] = {
{"apt", "apt install adb"}, {"apt", "apt install adb"},
{"apt-get", "apt-get install adb"}, {"apt-get", "apt-get install adb"},
{"brew", "brew cask install android-platform-tools"}, {"brew", "brew install --cask android-platform-tools"},
{"dnf", "dnf install android-tools"}, {"dnf", "dnf install android-tools"},
{"emerge", "emerge dev-util/android-tools"}, {"emerge", "emerge dev-util/android-tools"},
{"pacman", "pacman -S android-tools"}, {"pacman", "pacman -S android-tools"},