Skip to content

Commit

Permalink
feat(): Add cli feature to compatible with macOS (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
shayan0v0n authored Jul 15, 2024
1 parent 828ff12 commit 55f911d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions best403unlocker
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ install_required_packages(){
echo "Unsupported OS. Please install $1 manually." >& 2
exit 1
esac
elif [[ "$OSTYPE" == "darwin"* ]]; then
sudo -u $(logname) brew update
sudo -u $(logname) brew install $1
else
echo "Unsupported OS. Please install $1 manually." >& 2
exit 1
Expand Down

0 comments on commit 55f911d

Please sign in to comment.