Files
homebrew-cask/Casks/a/appzapper.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

28 lines
739 B
Ruby

cask "appzapper" do
version "2.0.3"
sha256 "bb541a89fd513c4fa95eeefe46ebac6b985ac6498a46da4e4622089a15ef6bcd"
url "https://appzapper.com/downloads/appzapper#{version.no_dots}.zip"
name "AppZapper"
desc "Tool to uninstall unwanted applications and their support files"
homepage "https://www.appzapper.com/"
livecheck do
url :homepage
regex(/href=.*?appzapper(\d+)(\d+)(\d+)\.zip/i)
strategy :page_match do |page|
page.scan(regex).map { |match| "#{match[0]}.#{match[1]}.#{match[2]}" }
end
end
auto_updates true
depends_on macos: ">= :sierra"
app "AppZapper.app"
zap trash: [
"~/Library/Application Support/AppZapper",
"~/Library/Preferences/com.appzapper.appzapper2.plist",
]
end