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.
cask 'intellij-idea20161' do
version '2016.1.4,145.2070'
sha256 'c6ed2455cfeeb542c646e6a3d639d32e85ebe8ead87a0f3744dfa3c0a920e2f9'
url " https://download.jetbrains.com/idea/ideaIU- #{ version . before_comma } .dmg "
name 'IntelliJ IDEA Ultimate'
homepage 'https://www.jetbrains.com/idea/'
auto_updates true
app 'IntelliJ IDEA.app'
uninstall_postflight do
ENV [ 'PATH' ] . split ( File :: PATH_SEPARATOR ) . map { | path | File . join ( path , 'idea' ) } . each { | path | File . delete ( path ) if File . exist? ( path ) && File . readlines ( path ) . grep ( %r{ # see com.intellij.idea.SocketLock for the server side of this interface } ) . any? }
end
zap delete : [
" ~/Library/Caches/IntelliJIdea #{ version . major_minor } " ,
" ~/Library/Logs/IntelliJIdea #{ version . major_minor } " ,
'~/Library/Saved Application State/com.jetbrains.intellij.savedState' ,
] ,
trash : [
" ~/Library/Application Support/IntelliJIdea #{ version . major_minor } " ,
" ~/Library/Preferences/IntelliJIdea #{ version . major_minor } " ,
'~/Library/Preferences/com.jetbrains.intellij.plist' ,
]
end