2015-12-18 09:15:28 +08:00
|
|
|
cask 'utorrent' do
|
2014-10-04 22:07:59 +08:00
|
|
|
version :latest
|
|
|
|
sha256 :no_check
|
2014-07-01 02:28:06 +08:00
|
|
|
|
2014-12-13 21:43:49 +08:00
|
|
|
if Hardware::CPU.type == :ppc
|
2015-04-08 01:11:09 +08:00
|
|
|
url 'https://download-new.utorrent.com/endpoint/utmac/os/osx-ppc/track/stable/'
|
2014-12-13 21:43:49 +08:00
|
|
|
app 'uTorrent.app'
|
|
|
|
else
|
2015-04-08 01:11:09 +08:00
|
|
|
url 'https://download-new.utorrent.com/endpoint/utmac/os/osx/track/stable/'
|
2016-01-18 09:27:20 +08:00
|
|
|
installer manual: 'uTorrent.app'
|
2014-12-13 21:43:49 +08:00
|
|
|
end
|
|
|
|
|
2014-12-30 22:22:59 +08:00
|
|
|
name 'µTorrent'
|
2015-04-08 01:11:09 +08:00
|
|
|
homepage 'https://www.utorrent.com/'
|
2014-12-13 21:43:49 +08:00
|
|
|
license :freemium
|
2014-06-27 08:01:51 +08:00
|
|
|
|
2016-01-18 09:27:20 +08:00
|
|
|
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
|