WEB-15311 Do not replace WebStorm stable with WebStorm EAP in Mac OS Launchpad.

This commit is contained in:
Vladimir.Orlov
2015-02-18 12:20:25 +03:00
parent 1b3c2b0254
commit c0ce165ea1
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -31,7 +31,7 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>@@bundle_name@@ @@version@@</string>
<string>@@bundle_name@@ @@product_version@@</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleIdentifier</key>
+3
View File
@@ -367,6 +367,8 @@ binding.setVariable("layoutMacApp", { String path, String ch, Map args ->
String minor = p("component.version.minor")
String version = isEap() && !minor.contains("RC") && !minor.contains("Beta") ? "EAP $args.buildNumber" : "${p("component.version.major")}.${minor}"
String productVersion = "${p("component.version.major")}.${minor}"
if (isEap() && !minor.contains("RC") && !minor.contains("Beta")) productVersion += " EAP"
Map properties = readIdeaProperties(args)
@@ -427,6 +429,7 @@ binding.setVariable("layoutMacApp", { String path, String ch, Map args ->
replacefilter(token: "@@executable@@", value: executable)
replacefilter(token: "@@icns@@", value: icns)
replacefilter(token: "@@bundle_name@@", value: fullName)
replacefilter(token: "@@product_version@@", value: productVersion)
replacefilter(token: "@@bundle_identifier@@", value: args.bundleIdentifier)
replacefilter(token: "@@year@@", value: "$todayYear")
replacefilter(token: "@@version@@", value: version)