homebrew-cask/Casks/ui-browser.rb

24 lines
708 B
Ruby

cask "ui-browser" do
version "3.0.2"
sha256 "a5695d3046a2230a0e56cbda68829802801d74afc39d4320161fef668b3a0376"
url "https://pfiddlesoft.com/uibrowser/downloads/UIBrowser#{version.no_dots}.dmg"
name "UI Browser"
desc "Assistant for Apple's Accessibility and AppleScript GUI scripting"
homepage "https://pfiddlesoft.com/uibrowser/"
livecheck do
url "https://pfiddlesoft.com/uibrowser/index-downloads.html"
regex(/href=.*?UI\s+Browser\s+(\d+(?:\.\d+)+)/i)
end
depends_on macos: ">= :sierra"
app "UI Browser.app"
zap trash: [
"~/Library/Caches/com.apple.helpd/Generated/com.pfiddlesoft.uibrowser.help*",
"~/Library/Preferences/com.pfiddlesoft.uibrowser.plist",
]
end