homebrew-cask/Casks/obs.rb

26 lines
1.2 KiB
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'obs' do
2017-03-25 14:46:06 +08:00
version '18.0.1'
sha256 'a0f353fa60ef78862814c1a11cd8e02382e0ec6d761ca1dddb4427ab37408957'
2014-07-16 14:20:08 +08:00
2016-06-18 06:33:42 +08:00
# github.com/jp9000/obs-studio was verified as official when first introduced to the cask
2017-03-25 14:46:06 +08:00
url "https://github.com/jp9000/obs-studio/releases/download/#{version}/obs-mac-#{version}-installer.pkg"
2015-12-26 04:57:40 +08:00
appcast 'https://github.com/jp9000/obs-studio/releases.atom',
2017-03-25 14:46:06 +08:00
checkpoint: 'b9766cf7354bc92b3eba3510afee7be9e22dd85a9126a8371a5c521a94fbe6bc'
2015-04-16 01:26:33 +08:00
name 'OBS'
homepage 'https://obsproject.com/'
2014-07-16 14:20:08 +08:00
pkg "obs-mac-#{version}-installer.pkg"
2014-11-22 22:12:43 +08:00
uninstall pkgutil: 'org.obsproject.pkg.obs-studio',
delete: '/Applications/SyphonInject.app'
2015-03-10 03:18:48 +08:00
zap delete: [
2017-03-19 14:42:42 +08:00
'/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',
2017-03-19 14:42:42 +08:00
'~/Library/Application Support/obs-studio',
'/private/var/db/receipts/zakk.lol.SyphonInject.bom',
'/private/var/db/receipts/zakk.lol.SyphonInject.plist',
]
2014-07-16 14:20:08 +08:00
end