cut v0.52.1
[Homebrew/homebrew-cask-versions.git] / Casks / battle-net.rb
blob4a0611c248ebac187d1feeca22d1ebc9f981a996
1 cask :v1 => 'battle-net' do
2   version :latest
3   sha256 :no_check
5   url 'http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/Battle.net-Setup-enUS.zip'
6   homepage 'http://us.battle.net/en/'
7   license :commercial
8   tags :vendor => 'Blizzard'
10   installer :manual => 'Battle.net-Setup-enUS.app'
12   uninstall :delete => '/Applications/Battle.net.app'
14   zap :delete => [
15                   '~/Library/Preferences/net.battle.net.app.plist',
16                   '~/Library/Preferences/net.battle.Authenticator.prefs',
17                   '~/Library/Preferences/net.battle.Identity.prefs',
18                   '~/Library/Preferences/net.battnet.battle.plist',
19                   '/Users/Shared/Battle.net'
20                  ]
22   caveats 'If you pick an installation directory other than /Applications when installing this cask, you will need to uninstall it manually'
23 end