homebrew-cask/Casks/obs.rb

26 lines
1.1 KiB
Ruby

cask 'obs' do
version '23.0.1'
sha256 'df34dbe0c4034943631164dcbc12610ae2b0e8ca7c5e257eaa3cd38781d9114d'
url "https://cdn-fastly.obsproject.com/downloads/obs-mac-#{version}-installer.pkg"
appcast 'https://github.com/obsproject/obs-studio/releases.atom'
name 'OBS'
homepage 'https://obsproject.com/'
pkg "obs-mac-#{version}-installer.pkg"
uninstall pkgutil: [
'org.obsproject.pkg.obs-studio',
'zakk.lol.SyphonInject',
]
zap trash: [
'/Library/Application Support/obs-studio',
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.obsproject.obs-studio.sfl*',
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/zakk.lol.syphoninject.sfl*',
'~/Library/Application Support/obs-studio',
'/private/var/db/receipts/zakk.lol.SyphonInject.bom',
'/private/var/db/receipts/zakk.lol.SyphonInject.plist',
]
end