浏览代码

Apple - update plist to support retina display.
Close #2139

Yao Wei Tjong 姚伟忠 5 年之前
父节点
当前提交
7c38ee0c37

+ 6 - 4
CMake/Modules/MacOSXBundleInfo.plist.template

@@ -26,14 +26,16 @@
     <string>????</string>
     <key>CFBundleVersion</key>
     <string>${MACOSX_BUNDLE_BUNDLE_VERSION}</string>
-    <key>LSMinimumSystemVersion</key>
-    <string>$(MACOSX_DEPLOYMENT_TARGET)</string>
     <key>CSResourcesFileMapped</key>
     <true/>
-    <key>LSRequiresCarbon</key>
-    <true/>
     <key>NSHumanReadableCopyright</key>
     <string>${MACOSX_BUNDLE_COPYRIGHT}</string>
+    <key>NSHighResolutionCapable</key>
+    <string>True</string>
+    <key>LSMinimumSystemVersion</key>
+    <string>$(MACOSX_DEPLOYMENT_TARGET)</string>
+    <key>LSRequiresCarbon</key>
+    <true/>
     <key>LSEnvironment</key>
     <dict>
         <key>URHO3D_PREFIX_PATH</key>

+ 6 - 2
CMake/Modules/iOSBundleInfo.plist.template

@@ -28,6 +28,10 @@
     <string>${MACOSX_BUNDLE_BUNDLE_VERSION}</string>
     <key>CSResourcesFileMapped</key>
     <true/>
+    <key>NSHumanReadableCopyright</key>
+    <string>${MACOSX_BUNDLE_COPYRIGHT}</string>
+    <key>NSHighResolutionCapable</key>
+    <string>True</string>
     <key>LSRequiresIPhoneOS</key>
     <true/>
     <key>UIStatusBarHidden</key>
@@ -39,8 +43,8 @@
         <string>UIInterfaceOrientationLandscapeLeft</string>
         <string>UIInterfaceOrientationLandscapeRight</string>
     </array>
-    <key>NSHumanReadableCopyright</key>
-    <string>${MACOSX_BUNDLE_COPYRIGHT}</string>
+    <key>UIViewControllerBasedStatusBarAppearance</key>
+    <false/>
     <key>CFBundleIconFiles</key>
     <array>
         <string>${MACOSX_BUNDLE_ICON_FILE}</string>

+ 4 - 2
CMake/Modules/tvOSBundleInfo.plist.template

@@ -28,14 +28,16 @@
     <string>${MACOSX_BUNDLE_BUNDLE_VERSION}</string>
     <key>CSResourcesFileMapped</key>
     <true/>
+    <key>NSHumanReadableCopyright</key>
+    <string>${MACOSX_BUNDLE_COPYRIGHT}</string>
+    <key>NSHighResolutionCapable</key>
+    <string>True</string>
     <key>LSRequiresIPhoneOS</key>
     <true/>
     <key>UIRequiredDeviceCapabilities</key>
     <array>
         <string>arm64</string>
     </array>
-    <key>NSHumanReadableCopyright</key>
-    <string>${MACOSX_BUNDLE_COPYRIGHT}</string>
     <key>CFBundleIconFiles</key>
     <array>
         <string>${MACOSX_BUNDLE_ICON_FILE}</string>