mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
update checker: support for relative paths in common repository format
This commit is contained in:
+10
@@ -864,7 +864,17 @@ public final class UpdateChecker {
|
||||
String url = null;
|
||||
if (descriptor instanceof PluginNode) {
|
||||
url = ((PluginNode)descriptor).getDownloadUrl();
|
||||
if (url != null) {
|
||||
final String repositoryName = ((PluginNode)descriptor).getRepositoryName();
|
||||
if (repositoryName != null) {
|
||||
final VirtualFile pluginFile = PluginDownloader.findPluginFile(url, repositoryName);
|
||||
if (pluginFile != null) {
|
||||
url = getPluginUrl(pluginFile);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (url == null) {
|
||||
String uuid = ApplicationManager.getApplication() == null ?
|
||||
UUID.randomUUID().toString() :
|
||||
|
||||
Reference in New Issue
Block a user