is_osx || return 0

(
	# Casks to install
	casks=(
		1password
		#charles
		coconutbattery
		daisydisk
		docker
		flycut
		glance
		google-chrome
		google-drive
		handbrake
		hex-fiend
		iterm2
		java
		jiggler
		kap
		#mactex
		microsoft-office
		ngrok
		#parallels
		#paw
		qlimagesize
		qlprettypatch
		qlstephen
		qlvideo
		rectangle
		sonos
		soundflower
		spotify
		#texpad
		viscosity
		visual-studio-code
		vlc
	)

	# Install the casks
	for package in ${casks[@]} ; do
		brew ls --cask $package > /dev/null 2>&1 || brew install --cask $package
	done

	# Cleanup after install
	brew cleanup -s > /dev/null
)

is_osx || return 0

(
	# Casks to install
	casks=(
		1password
		#charles
		coconutbattery
		daisydisk
		docker
		flycut
		glance
		google-chrome
		google-drive
		handbrake
		hex-fiend
		iterm2
		jiggler
		kap
		#mactex
		microsoft-office
		ngrok
		#parallels
		#paw
		qlimagesize
		qlprettypatch
		qlstephen
		qlvideo
		rectangle
		homebrew/cask-drivers/sonos
		spotify
		#texpad
		viscosity
		visual-studio-code
		vlc
	)

	# Install the casks
	for package in ${casks[@]} ; do
		brew ls --cask $package > /dev/null 2>&1 || brew install --cask $package
	done

	# Cleanup after install
	brew cleanup -s > /dev/null
)

Remove soundflower and java, update sonos cask
Remove soundflower and java, update sonos cask
