mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
The migration of `orka.rb` and then `o*.rb` has worked well without complaint so: let's move everything else, too.
27 lines
686 B
Ruby
27 lines
686 B
Ruby
cask "usage" do
|
|
version "1.4.6"
|
|
sha256 "1a782b03b08b544eb1277c18576ce14e9388510f53f6e3bda4a6793bd2780c66"
|
|
|
|
url "https://mediaatelier.com/Usage/Usage_#{version}.dmg"
|
|
name "Usage"
|
|
desc "Tracks application usage"
|
|
homepage "https://www.mediaatelier.com/Usage/"
|
|
|
|
livecheck do
|
|
url "https://www.mediaatelier.com/Usage/feed.php"
|
|
strategy :sparkle do |item|
|
|
item.url[/Usage[._-]?(\d+(?:\.\d+)*)\.dmg/i, 1]
|
|
end
|
|
end
|
|
|
|
depends_on macos: ">= :high_sierra"
|
|
|
|
app "Usage.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/com.mediaatelier.Usage",
|
|
"~/Library/Caches/com.mediaatelier.Usage",
|
|
"~/Library/Preferences/com.mediaatelier.Usage.plist",
|
|
]
|
|
end
|