[platform] provide a way to specify the download page URL in ExternalProductResourceUrls (IJPL-204)

...instead of using 'productUrl' in *ApplicationInfo.xml. Third-party IDEs can organize their sites differently, so it's better not to suppose that URLs of their download pages always end with '/download'.
Now this convention is specified for JetBrains' IDEs only in BaseJetBrainsExternalProductResourceUrls.

IntelliJ IDEA has been migrated to use the new property.

GitOrigin-RevId: 366569f01a8ad84094bc600692774c31d8e3eff2
This commit is contained in:
Nikolay Chashnikov
2023-08-21 13:36:52 +02:00
committed by intellij-monorepo-bot
parent 66bb100190
commit f71381a8e1
8 changed files with 30 additions and 8 deletions

View File

@@ -8,7 +8,10 @@ import com.intellij.platform.ide.impl.customization.ZenDeskFeedbackFormFieldIds
class IntelliJIdeaExternalResourceUrls : BaseJetBrainsExternalProductResourceUrls() {
override val basePatchDownloadUrl: String
get() = "https://download.jetbrains.com/idea/"
override val productPageUrl: String
get() = "https://www.jetbrains.com/idea/"
override val youtrackProjectId: String
get() = "IDEA"