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

use plist_set in 4 Casks #583

Merged
merged 4 commits into from
Dec 5, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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