2015-12-18 09:15:28 +08:00
|
|
|
cask 'bittorrent' do
|
2015-08-09 15:49:10 +08:00
|
|
|
version :latest
|
|
|
|
sha256 :no_check
|
|
|
|
|
2015-12-26 12:46:37 +08:00
|
|
|
url 'https://download-new.utorrent.com/os/osx/track/stable/endpoint/btmac'
|
2015-08-09 15:49:10 +08:00
|
|
|
name 'BitTorrent'
|
2015-12-26 12:46:37 +08:00
|
|
|
homepage 'https://www.bittorrent.com'
|
2015-08-09 15:49:10 +08:00
|
|
|
license :gratis
|
|
|
|
|
|
|
|
installer :manual => 'Bittorrent.app'
|
|
|
|
|
|
|
|
uninstall :delete => '/Applications/BitTorrent.app'
|
|
|
|
|
|
|
|
zap :delete => [
|
2016-01-04 03:17:53 +08:00
|
|
|
'~/Library/Preferences/com.com.bittorrent.BitTorrent.plist',
|
|
|
|
'~/Library/Application Support/BitTorrent',
|
|
|
|
'~/Library/Saved Application State/com.com.bittorrent.BitTorrent.savedState',
|
|
|
|
'~/Library/Caches/com.com.bittorrent.BitTorrent',
|
|
|
|
'~/Library/LaunchAgents/com.bittorrent.BitTorrent.plist',
|
2015-08-09 15:49:10 +08:00
|
|
|
]
|
|
|
|
end
|