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.
24 lines
713 B
Ruby
24 lines
713 B
Ruby
cask "activitywatch" do
|
|
version "0.12.2"
|
|
sha256 "804dd3eda377d62ac2e2d0590eced2d93ff9759594299858b7cf783294c25908"
|
|
|
|
url "https://github.com/ActivityWatch/activitywatch/releases/download/v#{version}/activitywatch-v#{version}-macos-x86_64.dmg",
|
|
verified: "github.com/ActivityWatch/activitywatch/"
|
|
name "ActivityWatch"
|
|
desc "Time tracker"
|
|
homepage "https://activitywatch.net/"
|
|
|
|
livecheck do
|
|
url "https://activitywatch.net/downloads/"
|
|
regex(/href=.*?activitywatch[._-]v?(\d+(?:\.\d+)+)-macos-x86_64\.dmg/i)
|
|
end
|
|
|
|
app "ActivityWatch.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/activitywatch",
|
|
"~/Library/Caches/activitywatch",
|
|
"~/Library/Logs/activitywatch",
|
|
]
|
|
end
|