Files
homebrew-cask/Casks/t/timemachineeditor.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

31 lines
809 B
Ruby

cask "timemachineeditor" do
version "5.2.2,219"
sha256 :no_check
url "https://tclementdev.com/timemachineeditor/TimeMachineEditor.pkg"
name "TimeMachineEditor"
desc "Utility to change the default backup interval of Time Machine"
homepage "https://tclementdev.com/timemachineeditor/"
livecheck do
url :url
strategy :extract_plist
end
auto_updates true
pkg "TimeMachineEditor.pkg"
uninstall launchctl: "com.tclementdev.timemachineeditor.scheduler",
pkgutil: "com.tclementdev.pkg.timemachineeditor"
zap trash: [
"~/Library/Logs/TimeMachineEditor",
"~/Library/Preferences/com.tclementdev.timemachineeditor.application.plist",
],
delete: [
"/Library/Logs/TimeMachineEditor",
"/Library/TimeMachineEditor",
]
end