mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-26 09:48:56 -05:00
17 lines
490 B
Bash
17 lines
490 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
# brew requires Command Line Tools for Xcode
|
||
|
xcode-select --print-path || sudo xcode-select --install
|
||
|
|
||
|
# install brew if necessary
|
||
|
brew info || /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||
|
|
||
|
# update brew package index and update all packages
|
||
|
brew update && brew upgrade
|
||
|
|
||
|
# install latest JDK
|
||
|
brew cask install java --force
|
||
|
|
||
|
# install FileBot bundle to ~/Applications
|
||
|
brew cask install filebot --force --appdir=~/Applications
|