homebrew-cask/Casks/maccleaner-pro.rb

27 lines
855 B
Ruby

cask "maccleaner-pro" do
version "2.6.4,321"
sha256 :no_check
url "https://nektony.com/download/mac-cleaner-pro/dmg/mac-cleaner-pro.dmg"
name "Nektony MacCleaner Pro"
desc "Delete junk, unnecessary files and folders, and speed up your computer"
homepage "https://nektony.com/mac-cleaner-pro"
livecheck do
url "https://nektony.com/pro-support/mac-cleaner-pro/update/update.xml"
strategy :sparkle
end
depends_on macos: ">= :el_capitan"
app "MacCleaner #{version.major} Pro"
zap trash: [
"~/Library/Application Scripts/com.nektony.MacCleaner-PRO-SII",
"~/Library/Application Support/com.nektony.MacCleaner-PRO-SII",
"~/Library/Caches/com.nektony.MacCleaner-PRO-SII",
"~/Library/Cookies/com.nektony.MacCleaner-PRO-SII.binarycookies",
"~/Library/Preferences/com.nektony.MacCleaner-PRO-SII.plist",
]
end