mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-07-17 06:16:47 -06:00
Create a cask for Avast Mac Security. Not entirely sure if the uninstall stanza is correct. The dmg comes with an uninstaller with the filename 'com.avast.uninstall.app', but I can't find anything in the docs about using a pre-packaged uninstaller. Remove broken uninstall stanza Add uninstall stanza suggested by @rolandwalker This stanza seems to work. Application and support files all removed after uninstall.
12 lines
308 B
Ruby
12 lines
308 B
Ruby
cask :v1 => 'avast' do
|
|
version :latest
|
|
sha256 :no_check
|
|
|
|
url 'http://download.ff.avast.com/mac/avast_free_antivirus_mac_setup.dmg'
|
|
homepage 'http://www.avast.com/'
|
|
license :commercial
|
|
|
|
pkg 'Avast Mac Security.pkg'
|
|
|
|
uninstall :script => '/Library/Application Support/Avast/hub/uninstall.sh'
|
|
end
|