mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-13 06:59:44 +07:00
OPENIDE change external url for updates
This commit is contained in:
@@ -27,7 +27,9 @@ class OpenIdeExternalResourceUrls : ExternalProductResourceUrls {
|
||||
|
||||
private val productUrl = Urls.newFromEncoded("https://openide.ru")
|
||||
|
||||
override val updateMetadataUrl = productUrl.resolve("update/updates.xml")
|
||||
override val updateMetadataUrl: Url
|
||||
get() = System.getProperty("idea.updates.url", "https://download.openide.ru/updates/updates.xml")
|
||||
.let { Urls.newFromEncoded(it) }
|
||||
|
||||
override fun computePatchUrl(from: BuildNumber, to: BuildNumber): Url =
|
||||
Urls.newFromEncoded("https://download.openide.ru/ide").resolve(computePatchFileName(from, to))
|
||||
|
||||
Reference in New Issue
Block a user