Browse Source

IntelliJ IDEA CE13: Replace plist hack with caveat

master
Michael 10 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" url "http://download.jetbrains.com/idea/ideaIC-#{version}.dmg"
homepage 'https://www.jetbrains.com/idea/index.html' homepage 'https://www.jetbrains.com/idea/index.html'
license :oss license :apache
app 'IntelliJ IDEA 13 CE.app' app 'IntelliJ IDEA 13 CE.app'
postflight do
plist_set(':JVMOptions:JVMVersion', '1.6+')
end
zap :delete => [ zap :delete => [
'~/Library/Application Support/IntelliJIdea13', '~/Library/Application Support/IntelliJIdea13',
'~/Library/Preferences/IntelliJIdea13', '~/Library/Preferences/IntelliJIdea13',
] ]
caveats <<-EOS.undent caveats <<-EOS.undent
#{token} may require Java 7 (an older version), available from the #{token} requires Java 6 like any other IntelliJ-based IDE.
caskroom-versions repository via You can install it with
brew cask install caskroom/versions/java7
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 EOS
end end

Loading…
Cancel
Save