Browse Source

PhpStorm 7 - Replace postflight hack with caveat

Per #879
master
Michael 9 years ago
parent
commit
1cb5d5805f
  1. 15
      Casks/phpstorm7.rb

15
Casks/phpstorm7.rb

@ -8,13 +8,20 @@ cask :v1 => 'phpstorm7' do
app 'PhpStorm.app'
postflight do
plist_set(':JVMOptions:JVMVersion', '1.6+')
end
zap :delete => [
'~/Library/Application Support/WebIde70',
'~/Library/Preferences/WebIde70',
'~/Library/Preferences/com.jetbrains.PhpStorm.plist',
]
caveats <<-EOS.undent
#{token} requires Java 6 like any other IntelliJ-based IDE.
You can install it with
brew cask install caskroom/homebrew-versions/java6
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