31 lines
933 B
Ruby
31 lines
933 B
Ruby
cask "studio-3t" do
|
|
arch arm: "-aarch64"
|
|
livecheckarch = on_arch_conditional arm: "_aarch64"
|
|
|
|
version "2023.5.0"
|
|
sha256 arm: "1036265a980a7c68799e6e8f4d403f97f539386a5e029d67dfc3746ca4d6affc",
|
|
intel: "c0daab1b55b58aa4438d18c737cf9ded22d2696627528f02c7688f4bdba4ab1e"
|
|
|
|
url "https://download.studio3t.com/studio-3t/mac#{arch}/#{version}/Studio-3T.dmg"
|
|
name "Studio 3T"
|
|
desc "IDE, client, and GUI for MongoDB"
|
|
homepage "https://studio3t.com/"
|
|
|
|
livecheck do
|
|
url "https://studio3t.com/download-thank-you/?OS=osx#{livecheckarch}"
|
|
regex(%r{/v?(\d+(?:\.\d+)+)/Studio[._-]?3T\.dmg}i)
|
|
end
|
|
|
|
auto_updates true
|
|
|
|
app "Studio 3T.app"
|
|
|
|
zap trash: [
|
|
"~/.3T/studio-3t/",
|
|
"~/Library/Preferences/3t.enterprise.mongochef.plist",
|
|
"~/Library/Preferences/3t.mongochef.core.plist",
|
|
"~/Library/Preferences/3t.mongochef.enterprise.plist",
|
|
"~/Library/Preferences/3t.mongochef.pro.plist",
|
|
]
|
|
end
|