AppCode: minimum OS X version specified in .app

This commit is contained in:
Anton Makeev
2014-04-22 14:24:32 +02:00
parent ca8a657ded
commit b6bccb78e0
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -57,7 +57,11 @@
@@archs@@
<key>LSRequiresNativeExecution</key>
<string>YES</string>
<key>LSMinimumSystemVersion</key>
<string>@@min_osx@@</string>
@@url_schemes@@
<key>JVMOptions</key>
<dict>
<key>ClassPath</key>
+1
View File
@@ -403,6 +403,7 @@ binding.setVariable("layoutMacApp", { String path, String ch, Map args ->
replacefilter(token: "@@help_id@@", value: helpId)
replacefilter(token: "@@url_schemes@@", value: urlSchemes)
replacefilter(token: "@@archs@@", value: archs)
replacefilter(token: "@@min_osx@@", value: ifNull(args.min_osx, "10.6"))
}
if (executable != "idea") {