28 lines
1.3 KiB
Ruby
28 lines
1.3 KiB
Ruby
cask 'obs' do
|
|
version '20.0.1'
|
|
sha256 '2cbdea6dd2eaf198d33707644c1e0e073307ded11434a4f423950ecd675dfa61'
|
|
|
|
# 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: '49f5329e9e99e97e804364395f599a3499f4368fcb03011c80f059f6a82c6db8'
|
|
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
|