homebrew-cask/Casks/e/eset-cyber-security.rb

26 lines
726 B
Ruby

cask "eset-cyber-security" do
version "7.4.1600.0"
sha256 :no_check
url "https://download.eset.com/com/eset/apps/home/eav/mac/latest/eset_cybersecurity_en.dmg"
name "ESET Cyber Security"
desc "Security including web and email protection"
homepage "https://www.eset.com/"
livecheck do
url "https://help.eset.com/latestVersions/"
regex(%r{ESET\sCyber\sSecurity</p>\n.*/span>\sv?(\d+(?:\.\d+)+)}i)
end
depends_on macos: ">= :catalina"
pkg "Resources/Installer.pkg"
uninstall script: {
executable: "/Applications/ESET Cyber Security.app/Contents/Helpers/Uninstaller.app/Contents/Scripts/uninstall.sh",
sudo: true,
}
zap trash: "~/Library/Preferences/com.eset.ecs.*.plist"
end