28-07-2021

This commit is contained in:
2021-07-28 14:30:23 +02:00
parent 21501ed2ce
commit c2e950d819
6 changed files with 368 additions and 4 deletions

View File

@@ -25,9 +25,12 @@ echo -e "${bold}🍏 Mac App Store updates come fast as lightning ${reset}"
echo ""
echo -e "mas : https://github.com/mas-cli/mas"
command -v mas >/dev/null 2>&1 || { echo -e "\n${bold}mas${reset} is not installed.\n\nRun ${italic}'brew install mas'${reset} for install." && exit 1; }
latest_v=$(curl -s https://api.github.com/repos/mas-cli/mas/releases/latest | jq -j '.tag_name')
current_v=$(mas version)
echo -e "Current version: $current_v"
echo -e "Latest version: $latest_v"