Explorar o código

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 %!s(int64=3) %!d(string=hai) anos
pai
achega
3c3fdc7a70
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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>