homebrew-cask/Casks/utorrent.rb

27 lines
968 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'utorrent' do
2014-10-04 22:07:59 +08:00
version :latest
sha256 :no_check
if Hardware::CPU.type == :ppc
url 'https://download-new.utorrent.com/endpoint/utmac/os/osx-ppc/track/stable/'
app 'uTorrent.app'
else
url 'https://download-new.utorrent.com/endpoint/utmac/os/osx/track/stable/'
installer manual: 'uTorrent.app'
end
name 'µTorrent'
homepage 'https://www.utorrent.com/'
license :freemium
zap delete: [
'~/Library/Application Support/uTorrent',
'~/Library/Preferences/com.bittorrent.uTorrent.plist',
'~/Library/Preferences/com.bittorrent.uTorrent-Installer.plist',
'~/Library/Saved Application State/com.bittorrent.uTorrent.savedState',
'~/Library/Saved Application State/com.bittorrent.uTorrent-Installer.savedState',
'~/Library/Caches/com.bittorrent.uTorrent',
'~/Library/Caches/com.bittorrent.uTorrent-Installer',
]
2012-03-10 17:15:33 +08:00
end