homebrew-cask/Casks/obs.rb

23 lines
805 B
Ruby

cask 'obs' do
version '0.13.1'
sha256 'aa2f4b03c3bcbfedb19d7d0a20e1738e2cc8d152b1a433ca41aad66e28ecf71d'
# github.com is the official download host per the vendor homepage
url "https://github.com/jp9000/obs-studio/releases/download/#{version}/obs-#{version}-installer.dmg"
appcast 'https://github.com/jp9000/obs-studio/releases.atom',
checkpoint: '6f67e18fe4d3147520723eb499f6539e5b6a6afb003a2bd43f8cb8338bc86e34'
name 'OBS'
homepage 'https://obsproject.com/'
license :gpl
pkg 'OBS.pkg'
uninstall pkgutil: 'org.obsproject.pkg.obs-studio',
delete: '/Applications/SyphonInject.app'
zap delete: [
'/private/var/db/receipts/zakk.lol.SyphonInject.bom',
'/private/var/db/receipts/zakk.lol.SyphonInject.plist',
]
end