19 lines
664 B
Ruby
19 lines
664 B
Ruby
|
cask 'avast-mac-security' do
|
||
|
version :latest
|
||
|
sha256 :no_check
|
||
|
|
||
|
url 'http://download.ff.avast.com/mac/avast_free_mac_security.dmg'
|
||
|
name 'Avast Mac Security'
|
||
|
homepage 'https://www.avast.com/'
|
||
|
|
||
|
pkg 'Avast Mac Security.pkg'
|
||
|
|
||
|
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,
|
||
|
}
|
||
|
|
||
|
zap delete: '~/Library/Preferences/com.avast.avast!.plist'
|
||
|
end
|