mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-158317 Featured plugins installation is broken
This commit is contained in:
+2
-1
@@ -293,7 +293,8 @@ public class PluginDownloader {
|
||||
public static PluginDownloader createDownloader(@NotNull IdeaPluginDescriptor descriptor,
|
||||
@Nullable String host,
|
||||
@Nullable BuildNumber buildNumber) throws IOException {
|
||||
boolean forceHttps = host == null && UpdateSettings.getInstance().canUseSecureConnection();
|
||||
boolean forceHttps = host == null
|
||||
&& (ApplicationManager.getApplication() == null || UpdateSettings.getInstance().canUseSecureConnection());
|
||||
return createDownloader(descriptor, host, buildNumber, forceHttps);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user