excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / a / activitywatch.rb
blob71b81b2fc05159369d31561d4814f836b6b762c8
1 cask "activitywatch" do
2   version "0.13.2"
3   sha256 "22f3bce0e169457902b2c8d2967701cde887171f737d281dd414a210bd3090ed"
5   url "https://github.com/ActivityWatch/activitywatch/releases/download/v#{version}/activitywatch-v#{version}-macos-x86_64.dmg",
6       verified: "github.com/ActivityWatch/activitywatch/"
7   name "ActivityWatch"
8   desc "Time tracker"
9   homepage "https://activitywatch.net/"
11   livecheck do
12     url "https://activitywatch.net/downloads/"
13     regex(/href=.*?activitywatch[._-]v?(\d+(?:\.\d+)+)-macos-x86_64\.dmg/i)
14   end
16   app "ActivityWatch.app"
18   zap trash: [
19     "~/Library/Application Support/activitywatch",
20     "~/Library/Caches/activitywatch",
21     "~/Library/Logs/activitywatch",
22   ]
24   caveats do
25     requires_rosetta
26   end
27 end