Use postflight DSL for plist in webstorm

This commit is contained in:
Federico Bond
2014-11-27 14:53:43 -03:00
parent 3a3da15a3a
commit 848e02b7dd
+1 -1
View File
@@ -9,6 +9,6 @@ cask :v1 => 'webstorm' do
app 'WebStorm.app'
postflight do
system '/usr/libexec/PlistBuddy', '-c', 'Set :JVMOptions:JVMVersion 1.6+', "#{staged_path}/WebStorm.app/Contents/Info.plist"
plist_set(':JVMOptions:JVMVersion', '1.6+')
end
end