Update depends.sh

This commit is contained in:
LukeZGD 2022-07-01 19:22:10 +08:00
parent 5f3ccb2fe6
commit f0870cd9ce

View File

@ -96,8 +96,8 @@ SetToolPaths() {
fi
elif [[ $platform == "macos" ]]; then
# for macOS 12.3 and newer
if (( ${platformver:0:2} > 11 )) && [[ -z $python ]]; then
# for macOS 12 and newer
if (( ${platformver:0:2} > 11 )); then
python="/usr/bin/python3"
ipwndfu="$(which python2) ipwndfu"
rmsigchks="$(which python2) rmsigchks.py"