File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Plugins/Flow.Launcher.Plugin.PluginsManager Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change
1
+ using Flow . Launcher . Core . Plugin ;
1
2
using Flow . Launcher . Infrastructure ;
2
3
using Flow . Launcher . Infrastructure . Http ;
3
4
using Flow . Launcher . Infrastructure . Logger ;
4
- using Flow . Launcher . Infrastructure . Storage ;
5
5
using Flow . Launcher . Infrastructure . UserSettings ;
6
6
using Flow . Launcher . Plugin . PluginsManager . Models ;
7
- using Flow . Launcher . Plugin . PluginsManager . ViewModels ;
8
7
using Flow . Launcher . Plugin . SharedCommands ;
9
8
using System ;
10
9
using System . Collections . Generic ;
@@ -402,9 +401,8 @@ internal List<Result> RequestUninstall(string search)
402
401
403
402
private void Uninstall ( PluginMetadata plugin )
404
403
{
405
- Core . Plugin . PluginManager . Settings . Plugins . Remove ( plugin . ID ) ;
406
- Core . Plugin . PluginManager . AllPlugins . RemoveAll ( p => p . Metadata . ID == plugin . ID ) ;
407
-
404
+ PluginManager . Settings . Plugins . Remove ( plugin . ID ) ;
405
+ PluginManager . AllPlugins . RemoveAll ( p => p . Metadata . ID == plugin . ID ) ;
408
406
409
407
// Marked for deletion. Will be deleted on next start up
410
408
using var _ = File . CreateText ( Path . Combine ( plugin . PluginDirectory , "NeedDelete.txt" ) ) ;
You can’t perform that action at this time.
0 commit comments