homebrew-cask/Casks/obs.rb

26 lines
1.1 KiB
Ruby

cask 'obs' do
version '23.2.1'
sha256 '9385098061c70448b06a5ae79c82408401949817178dd1198b0bf817e251d1d6'
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