mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
29 lines
1.0 KiB
Ruby
29 lines
1.0 KiB
Ruby
cask "mongodb-compass-readonly" do
|
|
arch arm: "arm64", intel: "x64"
|
|
|
|
version "1.40.4"
|
|
sha256 arm: "d16f661e9961411478abf575ac2787d2f18b53665f203d4619635678c9d3b994",
|
|
intel: "1543b0e553d7c83b3a8eb207d3953b56980d5cac367601c584d66f474e87e349"
|
|
|
|
url "https://downloads.mongodb.com/compass/mongodb-compass-readonly-#{version}-darwin-#{arch}.dmg"
|
|
name "MongoDB Compass Readonly"
|
|
desc "Interactive tool for analyzing MongoDB data"
|
|
homepage "https://www.mongodb.com/products/compass"
|
|
|
|
livecheck do
|
|
url "https://info-mongodb-com.s3.amazonaws.com/com-download-center/compass.json"
|
|
regex(/"version"\s*:\s*"(\d+(?:\.\d+)+)\s*\(Readonly/i)
|
|
end
|
|
|
|
app "MongoDB Compass Readonly.app"
|
|
|
|
zap trash: [
|
|
"~/.mongodb/compass",
|
|
"~/Library/Application Support/MongoDB Compass Readonly",
|
|
"~/Library/Caches/com.mongodb.compass.readonly",
|
|
"~/Library/Caches/com.mongodb.compass.readonly.ShipIt",
|
|
"~/Library/Preferences/com.mongodb.compass.readonly.plist",
|
|
"~/Library/Saved Application State/com.mongodb.compass.readonly.savedState",
|
|
]
|
|
end
|