29 lines
1.0 KiB
Ruby
29 lines
1.0 KiB
Ruby
cask "mongodb-compass-readonly" do
|
|
arch arm: "arm64", intel: "x64"
|
|
|
|
version "1.43.1"
|
|
sha256 arm: "4ed619a186a0ae1086b335339c4054bd5c8bc4ba244f94bd7ac35b3fca2e5ea1",
|
|
intel: "4bd549c7294c09bb0a5792b9557c614d668e95683de880d6429074237ce067e3"
|
|
|
|
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
|