Add missing graphics switching attribute.
authorKramer Campbell <kramer@kramerc.com>
Tue, 13 May 2014 16:33:54 +0000 (09:33 -0700)
committerKramer Campbell <kramer@kramerc.com>
Tue, 13 May 2014 16:33:54 +0000 (09:33 -0700)
Atom Shell was causing the GPU to be switched to the discrete card as
this attribute was missing from Info.plist files in common/ and
renderer/

atom/common/resources/mac/Info.plist
atom/renderer/resources/mac/Info.plist

index e259c9e..1fe8428 100644 (file)
@@ -10,5 +10,7 @@
        <string>Atom Framework</string>
        <key>CFBundlePackageType</key>
        <string>FMWK</string>
+       <key>NSSupportsAutomaticGraphicsSwitching</key>
+       <true/>
 </dict>
 </plist>
index 1c93676..0509c0c 100644 (file)
@@ -10,5 +10,7 @@
        <string>APPL</string>
        <key>LSUIElement</key>
        <true/>
+       <key>NSSupportsAutomaticGraphicsSwitching</key>
+       <true/>
 </dict>
 </plist>