From 3c3fdc7a7067b9d23e704c8d66cb5fb04013540c Mon Sep 17 00:00:00 2001 From: PatTheMav Date: Mon, 8 Aug 2022 20:04:00 +0200 Subject: [PATCH] cmake: Fix M1-based OBS.app appearing as being an "iOS" app MacOS' system information checks the CFBundleSupportedPlatforms value in the app's property list file for the type. This was correctly set for plugin bundles, but not binary bundles so far. --- cmake/bundle/macOS/Info.plist.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/bundle/macOS/Info.plist.in b/cmake/bundle/macOS/Info.plist.in index 18d4e6402..84d131eb9 100644 --- a/cmake/bundle/macOS/Info.plist.in +++ b/cmake/bundle/macOS/Info.plist.in @@ -18,6 +18,10 @@ ${MACOSX_BUNDLE_SHORT_VERSION_STRING} CFBundleVersion ${MACOSX_BUNDLE_BUNDLE_VERSION} + CFBundleSupportedPlatforms + + MacOSX + NSHighResolutionCapable LSMinimumSystemVersion