excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / n / northern-softworks-cache-cleaner.rb
blobaf6729c829d0cccf66306953e7e4feafd4d2f2e9
1 cask "northern-softworks-cache-cleaner" do
2   version "20.1"
3   sha256 :no_check
5   # Homepage, livecheck regex, and app change with major macOS releases
7   url "https://www.northernsoftworks.com/downloads/nscc.dmg"
8   name "Northern Softworks Cache Cleaner"
9   desc "General purpose system maintenance tool"
10   homepage "https://www.northernsoftworks.com/sequoiacachecleaner.html"
12   livecheck do
13     url :homepage
14     regex(/Download\s*Sequoia\s*Cache\s*Cleaner\s*v?(\d+(?:\.\d+)+)/i)
15   end
17   app "Sequoia Cache Cleaner.app"
19   zap trash: [
20     "~/Library/Application Support/com.northernsw.nswCacheCleaner",
21     "~/Library/Preferences/Sonoma Cache Cleaner Preferences",
22     "~/Library/Preferences/Ventura Cache Cleaner Preferences",
23     "~/Library/Saved Application State/com.northernsw.nswCacheCleaner.savedState",
24   ]
25 end