homebrew-cask/Casks/intellij-idea.rb

23 lines
704 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'intellij-idea' do
version '2016.2'
sha256 'ebdcb34b8d3bddc4dfedd71dd24f5273f63941eed480e6063acf910f1a10b593'
2016-03-17 23:59:33 +08:00
url "https://download.jetbrains.com/idea/ideaIU-#{version}.dmg"
2015-01-05 00:57:22 +08:00
name 'IntelliJ IDEA'
2014-12-25 01:39:26 +08:00
homepage 'https://www.jetbrains.com/idea/'
2014-11-12 08:38:39 +08:00
license :commercial
auto_updates true
2016-03-17 23:59:33 +08:00
app 'IntelliJ IDEA.app'
2016-03-29 22:54:31 +08:00
uninstall delete: '/usr/local/bin/idea'
zap delete: [
2016-03-29 22:54:31 +08:00
"~/Library/Caches/IntelliJIdea#{version.major_minor}",
"~/Library/Logs/IntelliJIdea#{version.major_minor}",
"~/Library/Application Support/IntelliJIdea#{version.major_minor}",
"~/Library/Preferences/IntelliJIdea#{version.major_minor}",
]
end