You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

23 lines
888 B

cask 'webstorm-eap' do
version '2017.1.1,171.4073.15'
sha256 'f0e5208109cd9992a231732e92955ebfe736993484e72d05a32d206129a6e9b5'
url "https://download.jetbrains.com/webstorm/WebStorm-#{version.after_comma}.dmg"
name 'WebStorm EAP'
homepage 'https://confluence.jetbrains.com/display/WI/WebStorm+EAP'
conflicts_with cask: 'webstorm'
app "WebStorm #{version.before_comma} EAP.app"
uninstall_postflight do
ENV['PATH'].split(File::PATH_SEPARATOR).map { |path| File.join(path, 'wstorm') }.each { |path| File.delete(path) if File.exist?(path) }
end
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}",
]
end