homebrew-cask/Casks/webtorrent.rb

24 lines
1.0 KiB
Ruby

cask 'webtorrent' do
version '0.4.0'
sha256 '840f4d7de67748e4eddd7125bf8eb38b21213fd6d0c813feaf7065da0dd78876'
# 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: '0c538cf13855a49ea6cdd6e11b3e2f5118651a6a8e477bf9c745329b0edbdecb'
name 'WebTorrent Desktop'
homepage 'https://webtorrent.io/desktop'
license :mit
app 'WebTorrent.app'
zap delete: [
'~/Library/Application Support/WebTorrent',
'~/Library/Saved Application State/io.webtorrent.webtorrent.savedState',
'~/Library/Caches/WebTorrent',
'~/Library/Preferences/io.webtorrent.webtorrent.plist',
'~/Library/Application Support/io.webtorrent.webtorrent.ShipIt',
'~/Library/Caches/io.webtorrent.webtorrent',
]
end