homebrew-cask/Casks/azure-data-studio.rb

23 lines
996 B
Ruby

cask 'azure-data-studio' do
version '1.5.2'
sha256 '963f749733e67fa90ca98164456ba55cc3da1cfb0a65dd417c5f2f4a3f845012'
# github.com/Microsoft/azuredatastudio was verified as official when first introduced to the cask
url "https://github.com/Microsoft/azuredatastudio/releases/download/#{version}/azuredatastudio-macos-#{version}.zip"
appcast 'https://github.com/Microsoft/azuredatastudio/releases.atom'
name 'Azure Data Studio'
homepage 'https://docs.microsoft.com/en-us/sql/azure-data-studio/'
auto_updates true
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