Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #583 from rolandwalker/use_plist_set
Browse files Browse the repository at this point in the history
use plist_set in 4 Casks
  • Loading branch information
rolandwalker committed Dec 5, 2014
2 parents 55e3831 + f40b387 commit 2055add
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Casks/android-studio-canary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
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 changes: 1 addition & 1 deletion Casks/intellij-idea-ce13.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
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 => [
Expand Down
2 changes: 1 addition & 1 deletion Casks/intellij-idea13.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
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 => [
Expand Down
2 changes: 1 addition & 1 deletion Casks/rubymine633.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
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('.','')}",
Expand Down

0 comments on commit 2055add

Please sign in to comment.