This commit is contained in:
jetfir3
2024-05-23 18:05:16 -04:00
committed by GitHub
parent 737e6db07c
commit afcdd392c5

View File

@@ -208,8 +208,8 @@ macos_prepare() {
[[ "${installMac}" ]] && installClient='true' && downloadVer=$(echo "${fileVar}" | perl -ne '/-(\d+\.\d+\.\d+\.\d+)/ && print "$1"')
[[ "${downloadVer}" ]] && (($(ver "${downloadVer}") < $(ver "1.1.59.710"))) && { echo -e "${red}Error:${clr} ${downloadVer} not supported by SpotX-Bash\n" >&2; exit 1; }
macos_set_path
[[ "${debug}" ]] && echo -e "${green}Debug:${clr} Install directory: ${installOutput}\n"
macos_autoupdate_check
[[ "${debug}" ]] && echo -e "${green}Debug:${clr} Install directory: ${installOutput}\n"
appPath="${installPath}/Spotify.app"
appBinary="${appPath}/Contents/MacOS/Spotify"
appBak="${appBinary}.bak"