cask "rescuetime" do version "3.2.3.2" sha256 "25c7930603764253848546a820cec51c2d2d4a074d942e25719afd739d9bf6fd" url "https://assets.rescuetime.com/installers/RescueTimeInstaller_#{version}.app.zip" name "RescueTime" desc "Time optimising application" homepage "https://www.rescuetime.com/" livecheck do url "https://www.rescuetime.com/installers/appcast/rtx" strategy :sparkle end auto_updates true depends_on macos: ">= :big_sur" app "RescueTime.app" zap trash: [ "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.rescuetime.rescuetime.sfl*", "~/Library/Caches/com.rescuetime.RescueTime", "~/Library/Preferences/com.rescuetime.RescueTime.plist", "~/Library/RescueTime.com", ] end