From 1fc666d82c3e56c6035af2ad9c5d2ce201455f15 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 1 Aug 2018 03:53:17 +0530 Subject: [PATCH] Add an Info.plist key to enable support for dark mode in Mojave Mojave uses tis key to determine how to draw the titlebar. See https://developer.apple.com/documentation/appkit/nsappearancecustomization/choosing_a_specific_appearance_for_your_app?language=objc --- setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.py b/setup.py index 35c55c389..b9f0a57e5 100755 --- a/setup.py +++ b/setup.py @@ -669,6 +669,8 @@ Categories=System;TerminalEmulator; LSMinimumSystemVersion='10.12.0', LSRequiresNativeExecution=True, NSAppleScriptEnabled=False, + # Needed for dark mode in Mojave when linking against older SDKs + NSRequiresAquaSystemAppearance='NO', NSHumanReadableCopyright=time.strftime( 'Copyright %Y, Kovid Goyal'), CFBundleGetInfoString='kitty, an OpenGL based terminal emulator https://sw.kovidgoyal.net/kitty',