Browse Source

Merge pull request #583 from rolandwalker/use_plist_set

use plist_set in 4 Casks
master
Roland Walker 10 years ago
parent
commit
07d3d53ab4
  1. 2
      Casks/android-studio-canary.rb
  2. 2
      Casks/intellij-idea-ce13.rb
  3. 2
      Casks/intellij-idea13.rb
  4. 2
      Casks/rubymine633.rb

2
Casks/android-studio-canary.rb

@ -9,6 +9,6 @@ cask :v1 => 'android-studio-canary' do
app 'Android Studio.app'
postflight do
system '/usr/libexec/PlistBuddy', '-c', 'Set :JVMOptions:JVMVersion 1.6+', "#{staged_path}/Android Studio.app/Contents/Info.plist"
plist_set(':JVMOptions:JVMVersion', '1.6+')
end
end

2
Casks/intellij-idea-ce13.rb

@ -9,7 +9,7 @@ cask :v1 => 'intellij-idea-ce13' do
app 'IntelliJ IDEA 13 CE.app'
postflight do
system '/usr/libexec/PlistBuddy', '-c', 'Set :JVMOptions:JVMVersion 1.6+', "#{staged_path}/IntelliJ IDEA 13 CE.app/Contents/Info.plist"
plist_set(':JVMOptions:JVMVersion', '1.6+')
end
zap :delete => [

2
Casks/intellij-idea13.rb

@ -9,7 +9,7 @@ cask :v1 => 'intellij-idea13' do
app 'IntelliJ IDEA 13.app'
postflight do
system '/usr/libexec/PlistBuddy', '-c', 'Set :JVMOptions:JVMVersion 1.6+', "#{staged_path}/IntelliJ IDEA 13.app/Contents/Info.plist"
plist_set(':JVMOptions:JVMVersion', '1.6+')
end
zap :delete => [

2
Casks/rubymine633.rb

@ -9,7 +9,7 @@ cask :v1 => 'rubymine633' do
app 'RubyMine.app'
postflight do
system '/usr/libexec/PlistBuddy', '-c', 'Set :JVMOptions:JVMVersion 1.6+', "#{staged_path}/RubyMine.app/Contents/Info.plist"
plist_set(':JVMOptions:JVMVersion', '1.6+')
end
zap :delete => [
"~/Library/Application Support/RubyMine#{version.gsub('.','')}",

Loading…
Cancel
Save