Code: Select all
cd (brew --repository homebrew/cask)/Casks
Code: Select all
cask 'filebot-beta' do
version '4.8.6'
sha256 :no_check
conflicts_with cask: "filebot"
url "https://get.filebot.net/filebot/BETA/FileBot_#{version}.app.tar.xz"
name 'FileBot'
homepage 'https://www.filebot.net/'
app 'FileBot.app'
binary "#{appdir}/FileBot.app/Contents/MacOS/filebot.sh", target: 'filebot'
zap trash: '~/Library/Preferences/net.filebot.ui.plist'
end
The :latest option for version wouldn't work as homebrew simply substitutes it into the link pattern.