homebrew-cask/Casks/a/app-cleaner.rb

29 lines
1018 B
Ruby

cask "app-cleaner" do
version "8.2.7,1976"
sha256 "990d22472bc284455286c28f5f9ba4f9bb1047985b61089ad8d04d368387bac1"
url "https://download.nektony.com/download/app-cleaner-uninstaller/app-cleaner-uninstaller.dmg?build=#{version.csv.second}"
name "Nektony App Cleaner & Uninstaller"
desc "Uninstaller and cleaning assistant"
homepage "https://nektony.com/mac-app-cleaner"
livecheck do
url "https://download.nektony.com/pro-support/v3/app-cleaner/update/update.xml"
strategy :sparkle
end
auto_updates true
depends_on macos: ">= :high_sierra"
app "App Cleaner #{version.major}.app"
zap trash: [
"~/Library/Application Scripts/com.nektony.App-Cleaner-Pro",
"~/Library/Application Support/com.nektony.App-Cleaner-Pro",
"~/Library/Caches/com.nektony.App-Cleaner-Pro",
"~/Library/Containers/com.nektony.StartupDiskFull",
"~/Library/Preferences/com.nektony.App-Cleaner-Pro.plist",
"~/Library/Saved Application State/com.nektony.App-Cleaner-Pro.savedState",
]
end