-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcask.sh
More file actions
executable file
·53 lines (46 loc) · 1.18 KB
/
cask.sh
File metadata and controls
executable file
·53 lines (46 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# --
# Homebrew: Cask
# --
source ./assets/utils.sh
header "Homebrew: Cask"
# Functions
# ---------
function install_cask()
{
APP_FORMULA="$1"
APP_NAME="$2"
APP_BUNDLE="${APP_NAME}.app"
if [ ! -d "/Applications/${APP_BUNDLE}" ]; then
brew cask list $APP_FORMULA &>/dev/null
if [ $? -ne 0 ]; then
task_doing "${APP_NAME}" "Installing"
brew cask install --appdir=/Applications "${APP_FORMULA}"
fi
else
task_done "${APP_NAME}" "already installed"
fi
}
# Casks
# -----
brew_tap_keg "caskroom/versions"
install_cask 1password "1Password 6"
install_cask alfred "Alfred 3"
install_cask atom-beta "Atom Beta"
install_cask bartender "Bartender 3"
install_cask charles "Charles"
install_cask dash "Dash"
install_cask dropbox "Dropbox"
install_cask fantastical "Fantastical"
install_cask github "Github Desktop"
install_cask hazel "Hazel"
install_cask kaleidoscope "Kaleidoscope"
install_cask licecap "LICEcap"
install_cask monodraw "Monodraw"
install_cask moom "Moom"
install_cask paw "Paw"
install_cask sketch "Sketch"
install_cask slack "Slack"
install_cask spotify "Spotify"
install_cask tower "Tower"
install_cask visual-studio-code "Visual Studio Code"
echo