excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / u / usage.rb
blob3057887ddc9a0c2e5487b03ae6ba080eab41236b
1 cask "usage" do
2   version "1.4.6"
3   sha256 "1a782b03b08b544eb1277c18576ce14e9388510f53f6e3bda4a6793bd2780c66"
5   url "https://mediaatelier.com/Usage/Usage_#{version}.dmg"
6   name "Usage"
7   desc "Tracks application usage"
8   homepage "https://www.mediaatelier.com/Usage/"
10   livecheck do
11     url "https://www.mediaatelier.com/Usage/feed.php"
12     regex(/Usage[._-]?(\d+(?:\.\d+)*)\.dmg/i)
13     strategy :sparkle do |item, regex|
14       item.url[regex, 1]
15     end
16   end
18   depends_on macos: ">= :high_sierra"
20   app "Usage.app"
22   zap trash: [
23     "~/Library/Application Support/com.mediaatelier.Usage",
24     "~/Library/Caches/com.mediaatelier.Usage",
25     "~/Library/Preferences/com.mediaatelier.Usage.plist",
26   ]
27 end