forked from alrra/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
browsers.sh
executable file
·35 lines (23 loc) · 1.14 KB
/
browsers.sh
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
#!/bin/bash
cd "$(dirname "${BASH_SOURCE[0]}")" \
&& . "../../utils.sh" \
&& . "./utils.sh"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
print_in_purple "\n Browsers\n"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
printf "\n"
brew_install "Chrome" "google-chrome" "--cask"
brew_install "Chrome Canary" "google-chrome-canary" "--cask" "homebrew/cask-versions"
brew_install "Chromium" "chromium" "--cask" "homebrew/cask-versions"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
printf "\n"
brew_install "Firefox" "firefox" "--cask"
brew_install "Firefox Developer" "firefox-developer-edition" "--cask" "homebrew/cask-versions"
brew_install "Firefox Nightly" "firefox-nightly" "--cask" "homebrew/cask-versions"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# `Safari Technology Preview` requires macOS 10.11.4 or la
# https://github.com/alrra/dotfiles/issues
if is_supported_version "$(get_os_version)" "10.11.4"; then
printf "\n"
brew_install "Safari Technology Preview" "safari-technology-preview" "--cask" "homebrew/cask-versions"
fi