homebrew-cask/Casks/webtorrent.rb

27 lines
1.2 KiB
Ruby

cask 'webtorrent' do
version '0.18.0'
sha256 '561c11df5c3bdbff80754977af6ac33bfa3ffcda283deae16aa00293930f0e3d'
# github.com/feross/webtorrent-desktop was verified as official when first introduced to the cask
url "https://github.com/feross/webtorrent-desktop/releases/download/v#{version}/WebTorrent-v#{version}.dmg"
appcast 'https://github.com/feross/webtorrent-desktop/releases.atom',
checkpoint: 'af35a6f3a2c0dab9e46e0942c0168771aa36ea7c5b225500852b096689a82455'
name 'WebTorrent Desktop'
homepage 'https://webtorrent.io/desktop/'
app 'WebTorrent.app'
zap delete: [
'~/Library/Caches/io.webtorrent.webtorrent',
'~/Library/Caches/io.webtorrent.webtorrent.ShipIt',
'~/Library/Caches/WebTorrent',
'~/Library/Saved Application State/io.webtorrent.webtorrent.savedState',
],
trash: [
'~/Library/Application Support/io.webtorrent.webtorrent.ShipIt',
'~/Library/Application Support/WebTorrent',
'~/Library/Preferences/io.webtorrent.webtorrent-helper.plist',
'~/Library/Preferences/io.webtorrent.webtorrent.plist',
]
end