homebrew-cask/Casks/timing.rb

35 lines
1.1 KiB
Ruby

cask "timing" do
version "2023.2.1"
sha256 "dbe448c9e95e0d04fcb166733f2f5f8e89754ce56a43fbfbfcfce2dfc04bb36c"
url "https://updates.timingapp.com/download/Timing-#{version}.dmg"
name "Timing"
name "Timing 2"
desc "Automatic time and productivity tracking app"
homepage "https://timingapp.com/"
livecheck do
url "https://updates.timingapp.com/updates/timing2.xml"
strategy :sparkle, &:short_version
end
auto_updates true
depends_on macos: ">= :mojave"
app "Timing.app"
uninstall login_item: "TimingHelper"
zap trash: [
"~/Library/Application Support/info.eurocomp.Timing2",
"~/Library/Application Support/info.eurocomp.TimingHelper",
"~/Library/Application Support/info.eurocomp.TimingHelper.InfoExtractorService",
"~/Library/Caches/info.eurocomp.Timing2",
"~/Library/Caches/info.eurocomp.TimingHelper.InfoExtractorService",
"~/Library/Caches/info.eurocomp.TimingHelper",
"~/Library/Preferences/info.eurocomp.Timing2.plist",
"~/Library/Preferences/info.eurocomp.TimingHelper.InfoExtractorService.plist",
"~/Library/Preferences/info.eurocomp.TimingHelper.plist",
]
end