Last active
October 13, 2024 02:54
-
-
Save unRARed/e607618b88fa0ba42c1b8448875ea649 to your computer and use it in GitHub Desktop.
Install Fire Tools on Mac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Open Terminal then get homebrew if you don't already have it. | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
### Then run these commands (this is not the order from the video, but should be cleaner here). | |
brew install openssl readline sqlite3 xz zlib android-platform-tools tcl-tk | |
### Then set these env variables to ensure pyenv is built correctly and install it: | |
env LDFLAGS="-L$(brew --prefix [email protected])/lib -L$(brew --prefix readline)/lib -L$(brew --prefix sqlite3)/lib -L$(brew --prefix xz)/lib -L$(brew --prefix zlib)/lib -L$(brew --prefix tcl-tk)/lib" \ | |
CPPFLAGS="-I$(brew --prefix [email protected])/include -I$(brew --prefix readline)/include -I$(brew --prefix sqlite3)/include -I$(brew --prefix xz)/include -I$(brew --prefix zlib)/include -I$(brew --prefix tcl-tk)/include" \ | |
PKG_CONFIG_PATH="$(brew --prefix [email protected])/lib/pkgconfig:$(brew --prefix readline)/lib/pkgconfig:$(brew --prefix sqlite3)/lib/pkgconfig:$(brew --prefix xz)/lib/pkgconfig:$(brew --prefix zlib)/lib/pkgconfig:$(brew --prefix tcl-tk)/lib/pkgconfig" \ | |
pyenv install 3.12.7 | |
### Then edit your ~/.zshrc to add these lines: | |
nano ~/.zshrc | |
export PYENV_ROOT="$HOME/.pyenv" | |
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH" | |
eval "$(pyenv init -)" | |
### Close nano with CTRL->X, it will prompt you to press Y to save. Then restart your terminal and run: | |
mkdir FireTools | |
cd FireTools | |
curl -LO https://github.com/mrhaydendp/fire-tools/releases/latest/download/Fire-Tools.zip | |
unzip Fire-Tools.zip && rm Fire-Tools.zip | |
cd Fire-Tools | |
pip install -r requirements.txt | |
python main.py | |
### Don't forget to check the device for the authorization request. THE TOOL CANNOT CONNECT WITHOUT. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment