Updated Brewfile and mac.sh script.

This commit is contained in:
Christian Baer 2020-07-05 21:56:40 +02:00
parent d413bd27d1
commit 25e49dde86
2 changed files with 23 additions and 13 deletions

View File

@ -4,54 +4,60 @@ cask_args appdir: '/Applications'
ALL_FFMPEG_OPTIONS = `brew options ffmpeg | grep -vE '\s' | grep -- '--with-'`.gsub("--", "").split("\n") ALL_FFMPEG_OPTIONS = `brew options ffmpeg | grep -vE '\s' | grep -- '--with-'`.gsub("--", "").split("\n")
## Taps ## Taps
tap "adoptopenjdk/openjdk" #tap "adoptopenjdk/openjdk"
tap "homebrew/bundle" tap "homebrew/bundle"
tap "homebrew/cask" tap "homebrew/cask"
tap "homebrew/cask-drivers" tap "homebrew/cask-drivers"
tap "homebrew/cask-versions"
tap "homebrew/core" tap "homebrew/core"
tap "homebrew/services"
## brew formulae ## brew formulae
brew "brew-cask-completion" brew "brew-cask-completion"
brew "checkbashisms" brew "checkbashisms"
brew "coreutils" brew "coreutils"
brew "exiftool" brew "exiftool"
brew "unbound"
brew "ffmpeg", args: ALL_FFMPEG_OPTIONS brew "ffmpeg", args: ALL_FFMPEG_OPTIONS
brew "git" brew "git"
brew "grep" brew "grep"
brew "gotop"
brew "htop" brew "htop"
brew "hugo" brew "hugo"
brew "iperf" brew "iperf"
brew "iperf3" brew "iperf3"
brew "ipmitool"
brew "mas" brew "mas"
brew "mosh" brew "mosh"
brew "node" brew "node"
brew "nativefier" brew "nativefier"
brew "nmap" brew "nmap"
brew "ocrmypdf" brew "ocrmypdf"
brew "pandoc"
brew "pandoc-citeproc"
brew "plantuml"
brew "rsync" brew "rsync"
brew "tesseract" brew "tesseract"
brew "tesseract-lang" brew "tesseract-lang"
brew "tmux" brew "tmux"
brew "tree" brew "tree"
#brew "vim", args: --HEAD
brew "vim" brew "vim"
brew "youtube-dl" brew "youtube-dl"
brew "zsh" brew "zsh"
brew "zsh-completions" brew "zsh-completions"
## cask formulae ## cask formulae
#cask "adoptopenjdk"
cask "adoptopenjdk8"
cask "alfred" cask "alfred"
cask "amethyst" cask "amethyst"
cask "atom" cask "atom"
cask "balenaetcher" cask "balenaetcher"
cask "bartender" cask "bartender"
cask "bitwarden"
cask "bonjeff" cask "bonjeff"
cask "calibre" cask "calibre"
cask "carbon-copy-cloner" cask "carbon-copy-cloner"
cask "chromium"
cask "coconutbattery" cask "coconutbattery"
cask "daisydisk"
cask "db-browser-for-sqlite" cask "db-browser-for-sqlite"
cask "dbeaver-community" cask "dbeaver-community"
cask "diskmaker-x" cask "diskmaker-x"
@ -66,18 +72,20 @@ cask "font-source-code-pro"
cask "fork" cask "fork"
cask "handbrake" cask "handbrake"
cask "hazel" cask "hazel"
cask "hex-fiend"
cask "istat-menus" cask "istat-menus"
cask "iterm2" cask "iterm2"
cask "java"
cask "jdownloader" cask "jdownloader"
cask "libreoffice" cask "libreoffice"
cask "little-snitch" cask "little-snitch"
cask "mactex-no-gui"
cask "marked" cask "marked"
cask "mediathekview" cask "mediathekview"
cask "moneymoney" cask "moneymoney"
cask "monitorcontrol" cask "monitorcontrol"
cask "nextcloud" cask "nextcloud"
cask "onyx" cask "onyx"
cask "oracle-jdk"
cask "pdf-expert" cask "pdf-expert"
cask "plex" cask "plex"
cask "portfolioperformance" cask "portfolioperformance"
@ -88,16 +96,18 @@ cask "shifty"
cask "sloth" cask "sloth"
cask "sonos" cask "sonos"
cask "spotify" cask "spotify"
cask "stats"
cask "thunderbird" cask "thunderbird"
cask "transmission" cask "transmission"
cask "transmit" cask "transmit"
cask "tunnelblick"
cask "tuxera-ntfs" cask "tuxera-ntfs"
cask "typora" cask "typora"
cask "virtualbox" cask "virtualbox"
cask "virtualbox-extension-pack" cask "virtualbox-extension-pack"
cask "vlc" cask "vlc"
cask "wireshark" cask "wireshark"
cask "zoomus" cask "zettlr"
## Mac AppStore ## Mac AppStore
mas "Affinity Designer", id: 824171161 mas "Affinity Designer", id: 824171161
@ -105,11 +115,9 @@ mas "Affinity Photo", id: 824183456
mas "Affinity Publisher", id: 881418622 mas "Affinity Publisher", id: 881418622
mas "Amphetamine", id: 937984704 mas "Amphetamine", id: 937984704
mas "AudioBookBinder", id: 413969927 mas "AudioBookBinder", id: 413969927
mas "Bitwarden", id: 1352778147
mas "Cardhop", id: 1290358394 mas "Cardhop", id: 1290358394
mas "Color Picker", id: 641027709 mas "Color Picker", id: 641027709
mas "Create Booklet", id: 943029046 mas "Create Booklet", id: 943029046
mas "Discovery", id: 1381004916
mas "Drafts", id: 1435957248 mas "Drafts", id: 1435957248
mas "Enpass", id: 732710998 mas "Enpass", id: 732710998
mas "FileBot", id: 905384638 mas "FileBot", id: 905384638
@ -121,7 +129,6 @@ mas "Mindcad Tiler", id: 432460453
mas "MindNode", id: 992076693 mas "MindNode", id: 992076693
mas "Monit", id: 1014850245 mas "Monit", id: 1014850245
mas "Moom", id: 419330170 mas "Moom", id: 419330170
mas "Notebooks", id: 1449826029
mas "Numbers", id: 409203825 mas "Numbers", id: 409203825
mas "Pages", id: 409201541 mas "Pages", id: 409201541
mas "PDFify", id: 1435055351 mas "PDFify", id: 1435055351

View File

@ -183,9 +183,10 @@ echo ">>> Installing Homebrew..."
echo ">>> Processing Brewfile..." echo ">>> Processing Brewfile..."
# Install apps from Brewfile # Install apps from Brewfile
brew bundle brew bundle cleanup -f
brew bundle install
echo ">>> Instaling apps that are not avaliable in brew or AppStore..." echo ">>> Installing apps that are not avaliable in brew or AppStore..."
MAC_INSTALLMOUNT="$MAC_DOWNLOAD/mount" MAC_INSTALLMOUNT="$MAC_DOWNLOAD/mount"
mkdir -p ${MAC_INSTALLMOUNT} mkdir -p ${MAC_INSTALLMOUNT}
@ -239,9 +240,11 @@ find $MAC_NATIVEFIERTMP -depth 2 -name "*.app" -exec cp -rf {} /Applications \;
rm -rf $MAC_NATIVEFIERTMP rm -rf $MAC_NATIVEFIERTMP
echo ">>> Setting up Atom" echo ">>> Setting up Atom"
apm install --packages-file ~/.atom/pkg.list apm install --packages-file ~/.atom/pkg.list
echo ">>> Setting up Pandoc environment"
eval "$(/usr/libexec/path_helper)"
## Set zsh from brew as default shell ## Set zsh from brew as default shell
echo ">>> Setting /usr/local/bin/zsh as default shell for $USER" echo ">>> Setting /usr/local/bin/zsh as default shell for $USER"
sudo chsh -s /usr/local/bin/zsh $USER sudo chsh -s /usr/local/bin/zsh $USER