homebrew-cask/Casks/malwarebytes-anti-malware.rb

27 lines
1.2 KiB
Ruby

cask 'malwarebytes-anti-malware' do
version '1.2.5'
sha256 'f11b0a500c071b251b84fc6fead4ba9033168709a7e958c56d087b50a4647d6c'
# data-cdn.mbamupdates.com was verified as official when first introduced to the cask
url "https://data-cdn.mbamupdates.com/web/MBAM-Mac-#{version}.dmg"
appcast 'https://data-cdn.mbamupdates.com/v1/mbam-mac/updates.xml',
checkpoint: 'a389a87aa8b03878ffaac0a2513859d0cc74dbc0a6cf42c23e4bb443fa8fc8b4'
name 'Malwarebytes Anti-Malware for Mac'
name 'AdwareMedic'
homepage 'https://www.malwarebytes.org/antimalware/mac/'
depends_on macos: '>= :lion'
app 'Malwarebytes Anti-Malware.app'
zap delete: [
'~/Library/Preferences/com.malwarebytes.antimalware.plist',
'~/Library/Caches/com.malwarebytes.antimalware',
'~/Library/Application Support/com.malwarebytes.antimalware',
'~/Library/Saved Application State/com.malwarebytes.antimalware.savedState',
'~/Library/Caches/com.malwarebytes.Malwarebytes-Anti-Malware-Service',
'~/Library/Caches/com.malwarebytes.Malwarebytes-XPC-Service',
'~/Library/Application Support/Malwarebytes',
]
end