homebrew-cask/Casks/app-cleaner.rb

28 lines
888 B
Ruby

cask "app-cleaner" do
version "7.4.4,840"
sha256 :no_check
url "https://nektony.com/download/app-cleaner-uninstaller/app-cleaner-uninstaller.dmg"
name "Nektony App Cleaner & Uninstaller"
desc "Uninstaller and cleaning assistant"
homepage "https://nektony.com/mac-app-cleaner"
livecheck do
url "https://nektony.com/pro-support/app-cleaner/update/update.xml"
strategy :sparkle
end
depends_on macos: ">= :yosemite"
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