phinze/homebrew-cask

View on GitHub
Casks/m/macupdate.rb

Summary

Maintainability
A
0 mins
Test Coverage
cask "macupdate" do
  version "6.4.1,450525"
  sha256 :no_check

  url "https://www.macupdate.com/mud-download"
  name "MacUpdate Desktop"
  desc "Software updater"
  homepage "https://www.macupdate.com/desktop"

  disable! date: "2024-02-22", because: :discontinued

  app "MacUpdate Desktop.app"

  zap trash: [
    "~/Library/Application Support/MacUpdate/MacUpdate Desktop #{version.major}",
    "~/Library/Caches/com.macupdate.desktop#{version.major}",
    "~/Library/Cookies/com.macupdate.desktop#{version.major}.binarycookies",
    "~/Library/Logs/MacUpdate Desktop",
    "~/Library/Preferences/com.macupdate.desktop#{version.major}.plist",
    "~/Library/Saved Application State/com.macupdate.desktop#{version.major}.savedState",
  ]
end