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

sh: xdg-open: command not found | macOS #42

Closed shloak17107 closed 3 years ago

shloak17107 commented 3 years ago

Describe the bug At the end of the script, the user folder is deleted and the script proceeds to exit. Just after the exiting message, I get the error sh: xdg-open: command not found.

To Reproduce

  1. Device connected via cable to Mac and USB debugging enabled
  2. Python requirements installed and dependencies installed
  3. Run python3 wa_kdbe.py
  4. Successfully uninstall WhatsApp, install legacy, and reinstall original WhatsApp.
  5. See error when exiting

Screenshots

Screen Shot 2021-02-24 at 10 40 28

Desktop:

Smartphone:

YuvrajRaghuvanshiS commented 3 years ago

I made it to automatically open that folder so you don't have to go through file system. That works with all linux system. How can you open a folder in file explorer using terminal on mac?

YuvrajRaghuvanshiS commented 3 years ago

The open command opens a file (or a directory or URL), just as if you had double-clicked the file's icon. If no application name is specified, the default application as determined via LaunchServices is used to open the specified files. I'll modify script accordingly.