Files
macos-system/bin/azw-install-default-mas-apps
2024-07-03 00:50:46 +02:00

31 lines
716 B
Bash
Executable File

#!/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
source autoload-zshlib
main "$@"
fi