homebrew-cask/Casks/avast.rb

19 lines
651 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'avast' do
version :latest
sha256 :no_check
2015-01-01 04:10:52 +08:00
url 'http://download.ff.avast.com/mac/avast_free_mac_security.dmg'
2015-01-13 13:43:56 +08:00
name 'Avast Mac Security'
2015-06-29 14:32:18 +08:00
homepage 'https://www.avast.com/'
pkg 'Avast Mac Security.pkg'
2016-06-07 04:39:54 +08:00
uninstall script: {
executable: '/Library/Application Support/Avast/hub/uninstall.sh',
must_succeed: false, # A non-0 exit code may be given even if the uninstall succeeds (https://github.com/caskroom/homebrew-cask/issues/21740#issuecomment-224094946).
sudo: true,
2016-06-07 04:39:54 +08:00
}
2015-01-13 13:43:56 +08:00
zap delete: '~/Library/Preferences/com.avast.avast!.plist'
end