From e082b67a6e366f2e87c3e5d3c88ae3b6c60f0253 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 17 Dec 2019 20:56:08 +0530 Subject: [PATCH] Fix #1856720 [Calibre activates discrete gpu on MacBook Pro](https://bugs.launchpad.net/calibre/+bug/1856720) --- bypy/macos/__main__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bypy/macos/__main__.py b/bypy/macos/__main__.py index cb42452f53..4e8496de2e 100644 --- a/bypy/macos/__main__.py +++ b/bypy/macos/__main__.py @@ -427,6 +427,7 @@ class Freeze(object): LSMinimumSystemVersion='10.14.0', LSRequiresNativeExecution=True, NSAppleScriptEnabled=False, + NSSupportsAutomaticGraphicsSwitching=True, NSHumanReadableCopyright=time.strftime('Copyright %Y, Kovid Goyal'), CFBundleGetInfoString=('calibre, an E-book management ' 'application. Visit https://calibre-ebook.com for details.'),