From 1d92987780c758cabe61794673b01eca73241c00 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 24 Aug 2014 18:28:25 +0530 Subject: [PATCH] OS X: Fix background jobs stealing input focus if they require the use of hidden browser --- setup/installer/osx/app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/installer/osx/app/main.py b/setup/installer/osx/app/main.py index a61c4308c9..e7c38b65fb 100644 --- a/setup/installer/osx/app/main.py +++ b/setup/installer/osx/app/main.py @@ -598,7 +598,7 @@ class Py2App(object): continue if x == 'Info.plist': plist = plistlib.readPlist(join(self.contents_dir, x)) - plist['LSUIElement'] = '1' + plist['LSBackgroundOnly'] = '1' plist['CFBundleIdentifier'] = 'com.calibre-ebook.console' plist.pop('CFBundleDocumentTypes') plistlib.writePlist(plist, join(cc_dir, x))