mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 04:37:30 +02:00
fix download plugin
This commit is contained in:
@@ -113,9 +113,7 @@ namespace Wox.Plugin.PluginManagement
|
|||||||
string json;
|
string json;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var task = Http.Get(pluginSearchUrl + pluginName, context.Proxy);
|
json = Http.Get(pluginSearchUrl + pluginName, context.Proxy).Result;
|
||||||
task.RunSynchronously();
|
|
||||||
json = task.Result;
|
|
||||||
}
|
}
|
||||||
catch (WebException e)
|
catch (WebException e)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user