[vlc-commits] macosx: enable dark mode on Mojave even if compiled against an older SDK

Felix Paul Kühne git at videolan.org
Mon Sep 24 18:47:46 CEST 2018


vlc/vlc-3.0 | branch: master | Felix Paul Kühne <felix at feepk.net> | Mon Sep 24 15:43:52 2018 +0200| [8bf109b35721ee29795239df07f86d213356fc86] | committer: Felix Paul Kühne

macosx: enable dark mode on Mojave even if compiled against an older SDK

When compiling against the 10.14 SDK, it would be enabled automatically. This flag allows us to continue using earlier SDKs while retaining support for it.

(cherry picked from commit 4e44bc66c97845603ed613fe79976bfb93bb0dce)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=8bf109b35721ee29795239df07f86d213356fc86
---

 share/Info.plist.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/share/Info.plist.in b/share/Info.plist.in
index 30847dba15..b6f88bd75d 100644
--- a/share/Info.plist.in
+++ b/share/Info.plist.in
@@ -4,6 +4,8 @@
 <dict>
 	<key>CFBundleDevelopmentRegion</key>
 	<string>English</string>
+	<key>NSRequiresAquaSystemAppearance</key>
+	<false/>
 	<key>CFBundleDocumentTypes</key>
 	<array>
 		<dict>



More information about the vlc-commits mailing list