diff --git a/Casks/android-studio-canary.rb b/Casks/android-studio-canary.rb index c53b7c939..c46168eec 100644 --- a/Casks/android-studio-canary.rb +++ b/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