File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
Plugins/Flow.Launcher.Plugin.PluginsManager Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 1
1
using Flow . Launcher . Infrastructure ;
2
+ using Flow . Launcher . Infrastructure . Http ;
2
3
using Flow . Launcher . Infrastructure . Logger ;
3
4
using Flow . Launcher . Infrastructure . UserSettings ;
4
5
using Flow . Launcher . Plugin . PluginsManager . Models ;
@@ -44,7 +45,7 @@ internal void InstallOrUpdate(UserPlugin plugin)
44
45
Context . API . ShowMsg ( Context . API . GetTranslation ( "plugin_pluginsmanager_downloading_plugin" ) ,
45
46
Context . API . GetTranslation ( "plugin_pluginsmanager_please_wait" ) ) ;
46
47
47
- Utilities . Download ( plugin . UrlDownload , filePath ) ;
48
+ Http . Download ( plugin . UrlDownload , filePath ) ;
48
49
49
50
Context . API . ShowMsg ( Context . API . GetTranslation ( "plugin_pluginsmanager_downloading_plugin" ) ,
50
51
Context . API . GetTranslation ( "plugin_pluginsmanager_download_success" ) ) ;
Original file line number Diff line number Diff line change @@ -57,12 +57,5 @@ internal static string GetContainingFolderPathAfterUnzip(string unzippedParentFo
57
57
58
58
return string . Empty ;
59
59
}
60
-
61
- internal static void Download ( string downloadUrl , string toFilePath )
62
- {
63
- using var wc = new WebClient { Proxy = Http . WebProxy ( ) } ;
64
-
65
- wc . DownloadFile ( downloadUrl , toFilePath ) ;
66
- }
67
60
}
68
61
}
You can’t perform that action at this time.
0 commit comments