YuvrajRaghuvanshiS / WhatsApp-Key-Database-Extractor

The most advanced and complete solution for extracting WhatsApp key/DB from package directory (/data/data/com.whatsapp) without root access.
MIT License
447 stars 57 forks source link

Problems when installing dependencies | macOS #38

Closed shloak17107 closed 3 years ago

shloak17107 commented 3 years ago

Describe the bug Multiple errors when installing dependencies on macOS

To Reproduce Steps to reproduce the behavior:

  1. Run brew cleanup and brew upgrade
  2. Run chmod +x bin/linux_dependencies.sh
  3. Run ./bin/linux_dependencies.sh
  4. See errors

Terminal output

Screen Shot 2021-02-22 at 22 53 38

Desktop:

YuvrajRaghuvanshiS commented 3 years ago

adb curl grep tar openjdk-11-jdk p7zip-full These are the packages supposed to be installed by running linux_dependencies.sh. You need to find their alternatives for mac and check if that works for you. If it does then please list those alternatives here so I can update this script accordingly.

shloak17107 commented 3 years ago

android-platform-tools can be used in place of adb https://formulae.brew.sh/cask/android-platform-tools#default

curl already works

grep already works

gnu-tar can be used in place of tar https://formulae.brew.sh/formula/gnu-tar

openjdk-11-jdk is just Java right? I already have Java 12.0.1 installed on my Mac, won't that work?

p7zip can be used in place of p7zip-full https://formulae.brew.sh/formula/p7zip#default

YuvrajRaghuvanshiS commented 3 years ago

openjdk-11-jdk is just Java right? I already have Java 12.0.1 installed on my Mac, won't that work?

I believe they are same.

YuvrajRaghuvanshiS commented 3 years ago

Try this brew install openjdk@11

shloak17107 commented 3 years ago

Try this brew install openjdk@11

Yes openjdk@11 installs successfully

Will it conflict with Java 12? Screenshot:

Screen Shot 2021-02-23 at 18 20 38
YuvrajRaghuvanshiS commented 3 years ago

Will it conflict with Java 12?

Can't say.

shloak17107 commented 3 years ago

All packages install successfully