ソースを参照

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>