Files
homebrew-cask/Casks/a/activitywatch.rb
Mike McQuaid aa461148bb Move all remaining casks to sharded subdirectories.
The migration of `orka.rb` and then `o*.rb` has worked well without
complaint so: let's move everything else, too.
2023-08-09 12:08:38 +01:00

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