Browse Source

IntelliJ IDEA CE13: Replace plist hack with caveat

master
Michael 9 years ago
parent
commit
91b64f91b7
  1. 18
      Casks/intellij-idea-ce13.rb

18
Casks/intellij-idea-ce13.rb

@ -4,27 +4,23 @@ cask :v1 => 'intellij-idea-ce13' do
url "http://download.jetbrains.com/idea/ideaIC-#{version}.dmg"
homepage 'https://www.jetbrains.com/idea/index.html'
license :oss
license :apache
app 'IntelliJ IDEA 13 CE.app'
postflight do
plist_set(':JVMOptions:JVMVersion', '1.6+')
end
zap :delete => [
'~/Library/Application Support/IntelliJIdea13',
'~/Library/Preferences/IntelliJIdea13',
]
caveats <<-EOS.undent
#{token} may require Java 7 (an older version), available from the
caskroom-versions repository via
brew cask install caskroom/versions/java7
#{token} requires Java 6 like any other IntelliJ-based IDE.
You can install it with
Alternatively, #{token} can be modified to use Java 8 as described in
brew cask install caskroom/homebrew-versions/java6
https://github.com/caskroom/homebrew-cask/issues/4500#issuecomment-43955932
The vendor (JetBrains) doesn't support newer versions of Java (yet)
due to several critical issues, see details at
https://intellij-support.jetbrains.com/entries/27854363
EOS
end

Loading…
Cancel
Save