From 59ecf7bb509a7d827d5835ccd8b642ddf9bd652b Mon Sep 17 00:00:00 2001 From: Kramer Campbell Date: Tue, 13 May 2014 09:33:54 -0700 Subject: [PATCH] Add missing graphics switching attribute. 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 | 2 ++ atom/renderer/resources/mac/Info.plist | 2 ++ 2 files changed, 4 insertions(+) diff --git a/atom/common/resources/mac/Info.plist b/atom/common/resources/mac/Info.plist index e259c9e..1fe8428 100644 --- a/atom/common/resources/mac/Info.plist +++ b/atom/common/resources/mac/Info.plist @@ -10,5 +10,7 @@ Atom Framework CFBundlePackageType FMWK + NSSupportsAutomaticGraphicsSwitching + diff --git a/atom/renderer/resources/mac/Info.plist b/atom/renderer/resources/mac/Info.plist index 1c93676..0509c0c 100644 --- a/atom/renderer/resources/mac/Info.plist +++ b/atom/renderer/resources/mac/Info.plist @@ -10,5 +10,7 @@ APPL LSUIElement + NSSupportsAutomaticGraphicsSwitching + -- 2.7.4