homebrew-cask/Casks/webstorm.rb

27 lines
1.0 KiB
Ruby

cask 'webstorm' do
version '2016.3.3'
sha256 'a600860f06e2edc78e84a62f9e25065c06d5ff2eab164e069e6d0890cd4c4f19'
url "https://download.jetbrains.com/webstorm/WebStorm-#{version}.dmg"
appcast 'https://data.services.jetbrains.com/products/releases?code=WS&latest=true&type=release',
checkpoint: '688880860dc7fc9ef7f25f86cf421aa074299351f112f194fea0320bbe8efa2b'
name 'WebStorm'
homepage 'https://www.jetbrains.com/webstorm/'
auto_updates true
conflicts_with cask: 'webstorm-eap'
app 'WebStorm.app'
uninstall delete: '/usr/local/bin/wstorm'
zap delete: [
"~/Library/Application Support/WebStorm#{version.major_minor}",
"~/Library/Caches/WebStorm#{version.major_minor}",
"~/Library/Logs/WebStorm#{version.major_minor}",
"~/Library/Preferences/WebStorm#{version.major_minor}",
'~/Library/Preferences/jetbrains.webstorm.aaac0500.plist',
'~/Library/Saved Application State/com.jetbrains.WebStorm.savedState',
]
end