homebrew-cask/Casks/obs.rb

23 lines
805 B
Ruby

cask 'obs' do
version '0.14.2'
sha256 '9324c8cea44c385f19dfb5dcf740090334c49d450089bd108fca95c1728b58b5'
# 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: '72e576ac4cb5b68742e19d5adc69390d4500c2eed8c74aaa11449de7f3a677d6'
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