From f0870cd9ce7a515fe443cc4430c5fd034b6d4c23 Mon Sep 17 00:00:00 2001 From: LukeZGD Date: Fri, 1 Jul 2022 19:22:10 +0800 Subject: [PATCH] Update depends.sh --- resources/depends.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/depends.sh b/resources/depends.sh index 82f9a39..b0fa7fc 100755 --- a/resources/depends.sh +++ b/resources/depends.sh @@ -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"