28 lines
1.3 KiB
Ruby
28 lines
1.3 KiB
Ruby
cask 'obs' do
|
|
version '19.0.3'
|
|
sha256 '8f8facede451a99c95331e24135c9bc982984dc9241f4eef6e07d3dcc7e3a446'
|
|
|
|
# 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: 'cce0325fb5095df46cde03c1862986e5b9c6a9e370dd37d26c96e8d1c6f55a12'
|
|
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
|