]> khamidou — GitHub mirrors - electron.git/commitdiff
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 e259c9e21da9b862cf7c5f1cdb0dd96f6b029055..1fe8428e489bd383e80649cbe1dc84d105d3c8b5 100644 (file)
@@ -10,5 +10,7 @@
        <string>Atom Framework</string>
        <key>CFBundlePackageType</key>
        <string>FMWK</string>
+       <key>NSSupportsAutomaticGraphicsSwitching</key>
+       <true/>
 </dict>
 </plist>
index 1c936760aa9e1bcec7e351696d97f9977d4c53dc..0509c0c091cefea2b5e924f04e28ccaf18ad18c0 100644 (file)
@@ -10,5 +10,7 @@
        <string>APPL</string>
        <key>LSUIElement</key>
        <true/>
+       <key>NSSupportsAutomaticGraphicsSwitching</key>
+       <true/>
 </dict>
 </plist>