mirror of
https://github.com/SpotX-Official/SpotX-Bash.git
synced 2026-06-20 22:21:08 +10:00
Update
This commit is contained in:
@@ -208,8 +208,8 @@ macos_prepare() {
|
|||||||
[[ "${installMac}" ]] && installClient='true' && downloadVer=$(echo "${fileVar}" | perl -ne '/-(\d+\.\d+\.\d+\.\d+)/ && print "$1"')
|
[[ "${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; }
|
[[ "${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
|
macos_set_path
|
||||||
[[ "${debug}" ]] && echo -e "${green}Debug:${clr} Install directory: ${installOutput}\n"
|
|
||||||
macos_autoupdate_check
|
macos_autoupdate_check
|
||||||
|
[[ "${debug}" ]] && echo -e "${green}Debug:${clr} Install directory: ${installOutput}\n"
|
||||||
appPath="${installPath}/Spotify.app"
|
appPath="${installPath}/Spotify.app"
|
||||||
appBinary="${appPath}/Contents/MacOS/Spotify"
|
appBinary="${appPath}/Contents/MacOS/Spotify"
|
||||||
appBak="${appBinary}.bak"
|
appBak="${appBinary}.bak"
|
||||||
|
|||||||
Reference in New Issue
Block a user