Files
homebrew-cask/Casks/r/rescuetime.rb
Mike McQuaid aa461148bb Move all remaining casks to sharded subdirectories.
The migration of `orka.rb` and then `o*.rb` has worked well without
complaint so: let's move everything else, too.
2023-08-09 12:08:38 +01:00

26 lines
693 B
Ruby

cask "rescuetime" do
version "3.1.4.1"
sha256 :no_check
url "https://www.rescuetime.com/installers/RescueTimeInstaller_X.pkg"
name "RescueTime"
desc "Time optimising application"
homepage "https://www.rescuetime.com/"
livecheck do
url :url
strategy :extract_plist
end
pkg "RescueTimeInstaller_X.pkg"
uninstall pkgutil: "com.rescuetime.RescueTime"
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