excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / a / app-cleaner.rb
blob093d2b3ee4c2b95f02a579cef290fc620ed9761f
1 cask "app-cleaner" do
2   version "8.4.3,2008"
3   sha256 "e5bf200b2fbed6fe02926e2081197b7655dd0fb672a2e3a0bc9dbbf375a3b6f5"
5   url "https://download.nektony.com/download/app-cleaner-uninstaller/app-cleaner-uninstaller.dmg?build=#{version.csv.second}"
6   name "Nektony App Cleaner & Uninstaller"
7   desc "Uninstaller and cleaning assistant"
8   homepage "https://nektony.com/mac-app-cleaner"
10   livecheck do
11     url "https://download.nektony.com/pro-support/v3/app-cleaner/update/update.xml"
12     strategy :sparkle
13   end
15   auto_updates true
16   depends_on macos: ">= :high_sierra"
18   app "App Cleaner #{version.major}.app"
20   zap trash: [
21     "~/Library/Application Scripts/com.nektony.App-Cleaner-Pro",
22     "~/Library/Application Support/com.nektony.App-Cleaner-Pro",
23     "~/Library/Caches/com.nektony.App-Cleaner-Pro",
24     "~/Library/Containers/com.nektony.StartupDiskFull",
25     "~/Library/Preferences/com.nektony.App-Cleaner-Pro.plist",
26     "~/Library/Saved Application State/com.nektony.App-Cleaner-Pro.savedState",
27   ]
28 end