Files
homebrew-cask/Casks/s/studio-3t.rb
2023-11-28 10:52:25 -05:00

31 lines
933 B
Ruby

cask "studio-3t" do
arch arm: "-aarch64"
livecheckarch = on_arch_conditional arm: "_aarch64"
version "2023.9.0"
sha256 arm: "4ef9edf7fa148b2c1a05f9b73ab4ecabfb5816ef1a588acfcc06b46ba9770207",
intel: "f1b7b6a0390b6b4be53e37c998741e78cd92fec10ffe2210ae2328091f0759ac"
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