Merge pull request #198799 from Homebrew/bump-huly-0.6.411
[Homebrew/homebrew-cask.git] / Casks / a / azure-data-studio.rb
blob512aada581cf52c39097930932e815648ca5c40f
1 cask "azure-data-studio" do
2   arch arm: "darwin-arm64", intel: "darwin"
4   version "1.50.0"
5   sha256 arm:   "e3628d056c3a3f1f9e49db81612333a5ed0ad6738cc624a5a8187a240fa72c1f",
6          intel: "3e3515e87971369bb244ec4934c8dc020674ae9f4f6d6f53d53dd1c7782627b6"
8   url "https://azuredatastudio-update.azurewebsites.net/#{version}/#{arch}/stable",
9       verified: "azuredatastudio-update.azurewebsites.net/"
10   name "Azure Data Studio"
11   desc "Data management tool that enables working with SQL Server"
12   homepage "https://docs.microsoft.com/en-us/sql/azure-data-studio/"
14   livecheck do
15     url "https://azuredatastudio-update.azurewebsites.net/api/update/#{arch}/stable/VERSION"
16     strategy :json do |json|
17       json["productVersion"]
18     end
19   end
21   auto_updates true
22   depends_on macos: ">= :catalina"
24   app "Azure Data Studio.app"
25   binary "#{appdir}/Azure Data Studio.app/Contents/Resources/app/bin/code", target: "azuredatastudio"
27   zap trash: [
28     "~/Library/Application Support/azuredatastudio",
29     "~/Library/Preferences/com.azuredatastudio.oss.helper.plist",
30     "~/Library/Preferences/com.azuredatastudio.oss.plist",
31     "~/Library/Saved Application State/com.azuredatastudio.oss.savedState",
32   ]
33 end