homebrew-cask/Casks/uninstallpkg.rb

21 lines
725 B
Ruby

cask "uninstallpkg" do
version "1.1.7"
sha256 "08f7c047e41282b842934519cb485c954c70639141690edccc8681edbc607a73"
url "https://www.corecode.io/downloads/uninstallpkg_#{version}.zip"
appcast "https://www.corecode.io/uninstallpkg/uninstallpkg.xml"
name "UninstallPKG"
homepage "https://www.corecode.io/uninstallpkg/"
app "UninstallPKG.app"
uninstall delete: "/Library/PrivilegedHelperTools/com.corecode.UninstallPKGDeleteHelper",
launchctl: "com.corecode.UninstallPKGDeleteHelper"
zap trash: [
"~/Library/Application Support/UninstallPKG",
"~/Library/Preferences/com.corecode.UninstallPKG.plist",
"~/Library/Saved Application State/com.corecode.UninstallPKG.savedState",
]
end