homebrew-cask/Casks/webtorrent.rb

29 lines
1.3 KiB
Ruby

cask 'webtorrent' do
version '0.21.0'
sha256 'caa0be97dadae10fa2ea45f33e2707bcf203893935dbbd835eed4a7103cca448'
# github.com/webtorrent/webtorrent-desktop was verified as official when first introduced to the cask
url "https://github.com/webtorrent/webtorrent-desktop/releases/download/v#{version}/WebTorrent-v#{version}.dmg"
appcast 'https://github.com/webtorrent/webtorrent-desktop/releases.atom'
name 'WebTorrent Desktop'
homepage 'https://webtorrent.io/desktop/'
auto_updates true
app 'WebTorrent.app'
zap trash: [
'~/Library/Application Support/io.webtorrent.webtorrent.ShipIt',
'~/Library/Application Support/WebTorrent',
'~/Library/Caches/io.webtorrent.webtorrent',
'~/Library/Caches/io.webtorrent.webtorrent.ShipIt',
'~/Library/Caches/WebTorrent',
'~/Library/Cookies/io.webtorrent.webtorrent.binarycookies',
'~/Library/Preferences/ByHost/io.webtorrent.webtorrent.ShipIt.*.plist',
'~/Library/Preferences/io.webtorrent.webtorrent-helper.plist',
'~/Library/Preferences/io.webtorrent.webtorrent.plist',
'~/Library/Saved Application State/io.webtorrent.webtorrent.savedState',
'~/Library/WebKit/io.webtorrent.webtorrent',
]
end