homebrew-cask/Casks/timing.rb

34 lines
1.1 KiB
Ruby

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