From 485e8bee17230ed8e17a27eaf148a3330f305a6f Mon Sep 17 00:00:00 2001
From: Thierry Crozat
Date: Thu, 9 Jan 2020 22:24:41 +0000
Subject: MACOSX: Opt in for dark theme
macOS 10.14 introduced a dark theme in addition to the nornal
aqua theme. Applications compiled with the 10.14 SDK or above
are automatically opt in for both, but applications compiled
with an older SDK are not and still use the aqua theme even
when the system is set to use the dark theme. Those applications
need to explicitely opt in to use the dark theme.
This fixes bug #11305: Dark Mode is not supported
---
dists/macosx/Info.plist | 2 ++
dists/macosx/Info.plist.in | 2 ++
2 files changed, 4 insertions(+)
(limited to 'dists')
diff --git a/dists/macosx/Info.plist b/dists/macosx/Info.plist
index bb0abce40c..8de6a147f2 100644
--- a/dists/macosx/Info.plist
+++ b/dists/macosx/Info.plist
@@ -72,6 +72,8 @@
faYfM+DGPgJCrRzpxSHoFD0rzHa6ZnnEXuzz2E7ZRUk=
NSDockTilePlugIn
scummvm.docktileplugin
+ NSRequiresAquaSystemAppearance
+
SUPublicDSAKeyFile
dsa_pub.pem
diff --git a/dists/macosx/Info.plist.in b/dists/macosx/Info.plist.in
index 4a8545dcb4..780191885f 100644
--- a/dists/macosx/Info.plist.in
+++ b/dists/macosx/Info.plist.in
@@ -72,6 +72,8 @@
faYfM+DGPgJCrRzpxSHoFD0rzHa6ZnnEXuzz2E7ZRUk=
NSDockTilePlugIn
scummvm.docktileplugin
+ NSRequiresAquaSystemAppearance
+
SUPublicDSAKeyFile
dsa_pub.pem
--
cgit v1.2.3