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 fi
elif [[ $platform == "macos" ]]; then elif [[ $platform == "macos" ]]; then
# for macOS 12.3 and newer # for macOS 12 and newer
if (( ${platformver:0:2} > 11 )) && [[ -z $python ]]; then if (( ${platformver:0:2} > 11 )); then
python="/usr/bin/python3" python="/usr/bin/python3"
ipwndfu="$(which python2) ipwndfu" ipwndfu="$(which python2) ipwndfu"
rmsigchks="$(which python2) rmsigchks.py" rmsigchks="$(which python2) rmsigchks.py"