Delete 07-install-mas-apps

Add azw command to install default Mac AppStore apps.
This commit is contained in:
T. R. Bernstein
2024-07-01 22:03:30 +02:00
committed by T. R. Bernstein
parent 4145b9d841
commit 095346dfc5
3 changed files with 30 additions and 69 deletions

View File

@@ -0,0 +1,30 @@
#!/usr/bin/env zsh
# vi: set ft=zsh tw=80 ts=2
function _installMASApp() {
mas install ${id} &> /dev/null
}
function installMASApp() {
local appName="$1"
local id="$2"
indicateActivity -- "Install ${appName} app" _installMASApp
}
function main() {
lop -y h1 -- -i 'Install Mac AppStore Apps'
installMASApp Keka 470158793
installMASApp Pages 409201541
installMASApp Numbers 409203825
installMASApp Outbank 1094255754
installMASApp 'Final Cut Pro' 424389933
installMASApp GarageBand 682658836
installMASApp Motion 434290957
installMASApp Compressor 424390742
installMASApp 'Logic Pro' 634148309
}
if [[ "${ZSH_EVAL_CONTEXT}" == toplevel ]]; then
autoload -w zshlib
main "$@"
fi