cask "azure-data-studio" do arch arm: "darwin-arm64", intel: "darwin" version "1.49.1" sha256 arm: "bd79b82d0a000a53a0e52156763fef1cb76dfe9513862b1d3ac359d926d03954", intel: "14473b4614f796ce5f0f54b67beed3e798cbd55dc1cd4d6e3cec746da974eab0" url "https://azuredatastudio-update.azurewebsites.net/#{version}/#{arch}/stable", verified: "azuredatastudio-update.azurewebsites.net/" name "Azure Data Studio" desc "Data management tool that enables working with SQL Server" homepage "https://docs.microsoft.com/en-us/sql/azure-data-studio/" livecheck do url "https://azuredatastudio-update.azurewebsites.net/api/update/#{arch}/stable/VERSION" strategy :json do |json| json["productVersion"] end end auto_updates true depends_on macos: ">= :high_sierra" app "Azure Data Studio.app" binary "#{appdir}/Azure Data Studio.app/Contents/Resources/app/bin/code", target: "azuredatastudio" zap trash: [ "~/Library/Application Support/azuredatastudio", "~/Library/Preferences/com.azuredatastudio.oss.helper.plist", "~/Library/Preferences/com.azuredatastudio.oss.plist", "~/Library/Saved Application State/com.azuredatastudio.oss.savedState", ] end