Delete 07-install-mas-apps
Add azw command to install default Mac AppStore apps.
This commit is contained in:
committed by
T. R. Bernstein
parent
4145b9d841
commit
095346dfc5
30
bin/azw-install-default-mas-apps
Executable file
30
bin/azw-install-default-mas-apps
Executable 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
|
||||
Reference in New Issue
Block a user