2014-02-26 20:53:00 +08:00
|
|
|
class IntellijIdeaCe < Cask
|
2014-07-22 05:33:20 +08:00
|
|
|
version '13.1.4'
|
|
|
|
sha256 '33253297570e99df5de5ac25cfffc97f94c115c2e13c7669210a7c1cbdc55d55'
|
2014-06-27 08:01:19 +08:00
|
|
|
|
2014-07-22 05:33:20 +08:00
|
|
|
url "http://download-cf.jetbrains.com/idea/ideaIC-#{version}.dmg"
|
2014-06-27 08:01:19 +08:00
|
|
|
homepage 'https://www.jetbrains.com/idea/index.html'
|
|
|
|
|
2013-12-04 00:52:25 +08:00
|
|
|
link 'IntelliJ IDEA 13 CE.app'
|
2014-07-25 23:38:59 +08:00
|
|
|
|
|
|
|
after_install do
|
|
|
|
system "/usr/libexec/PlistBuddy", "-c", "Set :JVMOptions:JVMVersion 1.6+", "#{destination_path}/IntelliJ IDEA 13 CE.app/Contents/Info.plist"
|
|
|
|
end
|
|
|
|
|
2014-05-26 22:01:32 +08:00
|
|
|
caveats do
|
|
|
|
<<-EOS.undent
|
|
|
|
#{@cask} may require Java 7 (an older version) available from the
|
|
|
|
caskroom-versions repo via
|
|
|
|
|
|
|
|
brew cask install caskroom/versions/java7
|
|
|
|
|
|
|
|
Alternatively, #{@cask} can be modified to use Java 8 as described in
|
|
|
|
|
|
|
|
https://github.com/caskroom/homebrew-cask/issues/4500#issuecomment-43955932
|
|
|
|
|
|
|
|
EOS
|
|
|
|
end
|
2012-11-20 01:52:13 +08:00
|
|
|
end
|