homebrew-cask/Casks/b/beekeeper-studio.rb

33 lines
1.1 KiB
Ruby

cask "beekeeper-studio" do
arch arm: "-arm64"
version "4.3.4"
sha256 arm: "deffc9551488f4f77449af45f9700f68a2cf2efdc1c2a6dfc7661655e9e61045",
intel: "ae6440b40c749d9787039375595a31af568bda114019a2a47c8879eaf91cf79b"
url "https://github.com/beekeeper-studio/beekeeper-studio/releases/download/v#{version}/Beekeeper-Studio-#{version}#{arch}.dmg",
verified: "github.com/beekeeper-studio/beekeeper-studio/"
name "Beekeeper Studio"
desc "Cross platform SQL editor and database management app"
homepage "https://www.beekeeperstudio.io/"
livecheck do
url :url
strategy :github_latest
end
auto_updates true
app "Beekeeper Studio.app"
zap trash: [
"~/Library/Application Support/beekeeper-studio",
"~/Library/Application Support/Caches/beekeeper-studio-updater",
"~/Library/Caches/io.beekeeperstudio.desktop",
"~/Library/Caches/io.beekeeperstudio.desktop.ShipIt",
"~/Library/Preferences/ByHost/io.beekeeperstudio.desktop.ShipIt.*.plist",
"~/Library/Preferences/io.beekeeperstudio.desktop.plist",
"~/Library/Saved Application State/io.beekeeperstudio.desktop.savedState",
]
end