summaryrefslogtreecommitdiff
path: root/sysui/desktop
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2013-10-22 21:51:11 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2013-10-22 21:51:57 -0500
commita55d02bacb2c8f21cba759c8fe3931df07a85b0c (patch)
tree34c3ff470ff02fcc9dcee4251ff4ea3a01637c22 /sysui/desktop
parent48331c402fa5f22aed4067947fffac20fe61df14 (diff)
macosx: add a LSMinimumSystemVersion in Info.plist
the minimum version is set based on MACOSX_DEPLOYMENT_VERSION It's purpose is to prevent the generated app to be executed on a system that does not meet the requirement Change-Id: I4ec09f8d1f96af1263d40bbe0e4b144c9622bba4
Diffstat (limited to 'sysui/desktop')
-rwxr-xr-xsysui/desktop/macosx/Info.plist.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysui/desktop/macosx/Info.plist.in b/sysui/desktop/macosx/Info.plist.in
index 6cc134313ab1..9602a2500dfe 100755
--- a/sysui/desktop/macosx/Info.plist.in
+++ b/sysui/desktop/macosx/Info.plist.in
@@ -71,7 +71,7 @@
</array>
</dict>
</dict>
-
+
<!-- Calc documents -->
<dict>
<key>UTTypeIdentifier</key>
@@ -847,7 +847,7 @@
</dict>
</dict>
</array>
-
+
<!-- Document type declaration for OS X < 10.4 -->
<key>CFBundleDocumentTypes</key>
<array>
@@ -1422,6 +1422,8 @@
<string>VCL_NSApplication</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.productivity</string>
+ <key>LSMinimumSystemVersion</key>
+ <string>@MACOSX_DEPLOYMENT_TARGET@.0<string>
</dict>
</plist>