2017-08-24 14:06:04 +08:00
|
|
|
cask 'malwarebytes' do
|
2018-05-16 06:03:42 +08:00
|
|
|
version '3.3.22.1387'
|
|
|
|
sha256 '4086b2327e7657a7d761a5a8e808ebe9b7fb93d21febd0c20f557828d1e62630'
|
2017-08-24 14:06:04 +08:00
|
|
|
|
|
|
|
# data-cdn.mbamupdates.com/web was verified as official when first introduced to the cask
|
2017-11-04 07:15:33 +08:00
|
|
|
url "https://data-cdn.mbamupdates.com/web/mb#{version.major}_mac/Malwarebytes-Mac-#{version}.pkg"
|
2017-08-24 14:06:04 +08:00
|
|
|
name 'Malwarebytes for Mac'
|
|
|
|
homepage 'https://www.malwarebytes.com/mac/'
|
|
|
|
|
|
|
|
auto_updates true
|
|
|
|
depends_on macos: '>= :yosemite'
|
|
|
|
|
2017-11-04 07:15:33 +08:00
|
|
|
pkg "Malwarebytes-Mac-#{version}.pkg"
|
2017-08-24 14:06:04 +08:00
|
|
|
|
|
|
|
uninstall delete: '/Library/Application Support/Malwarebytes/MBAM',
|
|
|
|
kext: 'com.malwarebytes.mbam.rtprotection',
|
|
|
|
launchctl: [
|
|
|
|
'com.malwarebytes.mbam.frontend.agent',
|
|
|
|
'com.malwarebytes.mbam.rtprotection.daemon',
|
|
|
|
'com.malwarebytes.mbam.settings.daemon',
|
|
|
|
],
|
|
|
|
pkgutil: 'com.malwarebytes.mbam',
|
|
|
|
quit: 'com.malwarebytes.mbam.frontend.agent',
|
|
|
|
rmdir: '/Library/Application Support/Malwarebytes'
|
|
|
|
end
|