Преглед на файлове

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.
PatTheMav преди 3 години
родител
ревизия
3c3fdc7a70
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      cmake/bundle/macOS/Info.plist.in

+ 4 - 0
cmake/bundle/macOS/Info.plist.in

@@ -18,6 +18,10 @@
 	<string>${MACOSX_BUNDLE_SHORT_VERSION_STRING}</string>
 	<key>CFBundleVersion</key>
 	<string>${MACOSX_BUNDLE_BUNDLE_VERSION}</string>
+	<key>CFBundleSupportedPlatforms</key>
+  	<array>
+  		<string>MacOSX</string>
+  	</array>
 	<key>NSHighResolutionCapable</key>
 	<true/>
 	<key>LSMinimumSystemVersion</key>