homebrew-cask/Casks/t/timing.rb

35 lines
1.1 KiB
Ruby

cask "timing" do
version "2023.4.4"
sha256 "86f6d6d6b9e42aee72149c5096dc093f0b109aaff8b0838130d847c68641f21a"
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