homebrew-cask/Casks/ubar.rb

24 lines
748 B
Ruby

cask "ubar" do
version "4.2.0,420"
sha256 "23ffd2b1df89d0df1a795923a2a3df8f1025c2bf1329e9c54a4372db51039077"
url "https://www.brawersoftware.com/downloads/ubar/ubar#{version.after_comma}.zip"
name "uBar"
desc "Window manager and productivity tool"
homepage "https://brawersoftware.com/products/ubar"
livecheck do
url "https://brawersoftware.com/appcasts/feeds/ubar/ubar#{version.major}.xml"
strategy :sparkle
end
app "uBar.app"
zap trash: [
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/ca.brawer.ubar.sfl*",
"~/Library/Application Support/uBar",
"~/Library/Caches/ca.brawer.uBar",
"~/Library/Preferences/ca.brawer.uBar.plist",
]
end