homebrew-cask/Casks/m/mongodb-compass-isolated-ed...

27 lines
985 B
Ruby

cask "mongodb-compass-isolated-edition" do
arch arm: "arm64", intel: "x64"
version "1.43.1"
sha256 arm: "829c85562454113b54b88d93c2b46c3f2855cc1c323232b66ebaab1335e13ec6",
intel: "cf1571f58b3baa8e40d54506110affbb924c99ea2a1cfca7b356aab084bcb75e"
url "https://downloads.mongodb.com/compass/mongodb-compass-isolated-#{version}-darwin-#{arch}.dmg"
name "MongoDB Compass Isolated"
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*\(Isolated/i)
end
app "MongoDB Compass Isolated Edition.app"
zap trash: [
"~/.mongodb/compass",
"~/Library/Application Support/MongoDB Compass Isolated Edition",
"~/Library/Preferences/com.mongodb.compass.isolated.plist",
"~/Library/Saved Application State/com.mongodb.compass.isolated.savedState",
]
end