homebrew-cask/Casks/obs.rb

28 lines
1.3 KiB
Ruby

cask 'obs' do
version '19.0.2'
sha256 '3be4c42d8e6aa1b16fa6a5bb8d7e8508d5716e9428639c018304b089ce6b1b06'
# github.com/jp9000/obs-studio was verified as official when first introduced to the cask
url "https://github.com/jp9000/obs-studio/releases/download/#{version}/obs-mac-#{version}-installer.pkg"
appcast 'https://github.com/jp9000/obs-studio/releases.atom',
checkpoint: 'b865d09187db6650829d32296bbf9ab398a4df6f3841ff476663deeb4ade50af'
name 'OBS'
homepage 'https://obsproject.com/'
pkg "obs-mac-#{version}-installer.pkg"
uninstall pkgutil: [
'org.obsproject.pkg.obs-studio',
'zakk.lol.SyphonInject',
]
zap delete: [
'/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